@@ -10,7 +10,8 @@ integration.
11# JavaScript from Elm
11# JavaScript from Elm
12@docs fromString, fromInt, fromFloat, fromBool fromList
12@docs fromString, fromInt, fromFloat, fromBool fromList
14# DOM Nodes and Elements
15# DOM Nodes and Elements
15@docs toElement, fromElement
16@docs toElement, fromElement
@@ -58,6 +59,7 @@ fromBool = Native.JavaScript.fromBool
58fromString : String -> JSString
59fromString : String -> JSString
59fromString = Native.JavaScript.fromString
60fromString = Native.JavaScript.fromString
61{-| Turn an `Element` into a DOM node. -}
63{-| Turn an `Element` into a DOM node. -}
62fromElement : Element -> JSDomNode
64fromElement : Element -> JSDomNode
63fromElement = Native.JavaScript.fromElement
65fromElement = Native.JavaScript.fromElement
@@ -66,3 +68,4 @@ fromElement = Native.JavaScript.fromElement
66using the normal `width` and `height` functions. -}
68using the normal `width` and `height` functions. -}
67toElement : Int -> Int -> JSDomNode -> Element
69toElement : Int -> Int -> JSDomNode -> Element
68toElement = Native.JavaScript.toElement
70toElement = Native.JavaScript.toElement