Pages
Introduction
Getting Started
Recipes
Reference
Literals
Arrays
Tuples
Type System
Functions
Modules
Records
Enums
Built-in Types
Constants
Equality
Stores
Routing
Comments
Control Expressions
Components
Properties
Computed Properties
Styling Elements
Connecting Stores
Using Providers
Internal State
Referencing Entities
Global Components
Lifecycle Functions
Directives
JavaScript Interop
Environment Variables
Packages
JavaScript Interop
Mint provides a few ways of interacting with JavaScript:
- You can invoke arbitrary JavaScript by inlining
- You can convert JavaScript objects to typed values using decode expressions
- You can convert typed values to JavaScript objects using encode expressions