Add note about how to interpret JS functions
This commit is contained in:
parent
32e7d1da03
commit
ab53fac3c4
1 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,10 @@ module JavaScript where
|
|||
the internal data structures of Elm to change and improve with no impact on JS
|
||||
integration.
|
||||
|
||||
It is intended to be imported as `import JavaScript as JS`. That way functions
|
||||
like `JS.toInt` convert JavaScript *to* Elm integers and functions like
|
||||
`JS.fromString` gets JavaScript *from* Elm strings.
|
||||
|
||||
# Javascript to Elm
|
||||
@docs toString, toInt, toFloat, toBool, toList
|
||||
|
||||
|
|
Loading…
Reference in a new issue