/
HTMLBRElement.purs
52 lines (36 loc) · 1.62 KB
/
HTMLBRElement.purs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
module Web.HTML.HTMLBRElement where
import Data.Maybe (Maybe)
import Unsafe.Coerce (unsafeCoerce)
import Web.DOM (ChildNode, Element, Node, NonDocumentTypeChildNode, ParentNode)
import Web.Event.EventTarget (EventTarget)
import Web.HTML.HTMLElement (HTMLElement)
import Web.Internal.FFI (unsafeReadProtoTagged)
foreign import data HTMLBRElement :: Type
fromHTMLElement :: HTMLElement -> Maybe HTMLBRElement
fromHTMLElement = unsafeReadProtoTagged "HTMLBRElement"
fromElement :: Element -> Maybe HTMLBRElement
fromElement = unsafeReadProtoTagged "HTMLBRElement"
fromNode :: Node -> Maybe HTMLBRElement
fromNode = unsafeReadProtoTagged "HTMLBRElement"
fromChildNode :: ChildNode -> Maybe HTMLBRElement
fromChildNode = unsafeReadProtoTagged "HTMLBRElement"
fromNonDocumentTypeChildNode :: NonDocumentTypeChildNode -> Maybe HTMLBRElement
fromNonDocumentTypeChildNode = unsafeReadProtoTagged "HTMLBRElement"
fromParentNode :: ParentNode -> Maybe HTMLBRElement
fromParentNode = unsafeReadProtoTagged "HTMLBRElement"
fromEventTarget :: EventTarget -> Maybe HTMLBRElement
fromEventTarget = unsafeReadProtoTagged "HTMLBRElement"
toHTMLElement :: HTMLBRElement -> HTMLElement
toHTMLElement = unsafeCoerce
toElement :: HTMLBRElement -> Element
toElement = unsafeCoerce
toNode :: HTMLBRElement -> Node
toNode = unsafeCoerce
toChildNode :: HTMLBRElement -> ChildNode
toChildNode = unsafeCoerce
toNonDocumentTypeChildNode :: HTMLBRElement -> NonDocumentTypeChildNode
toNonDocumentTypeChildNode = unsafeCoerce
toParentNode :: HTMLBRElement -> ParentNode
toParentNode = unsafeCoerce
toEventTarget :: HTMLBRElement -> EventTarget
toEventTarget = unsafeCoerce