Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 770 Bytes

Document.md

File metadata and controls

32 lines (24 loc) · 770 Bytes

Module Data.DOM.Simple.Document

HTMLDocument

data HTMLDocument :: *
Instances
instance htmlDocumentElement :: Element HTMLDocument
instance htmlDocument :: Document HTMLDocument
instance showHtmlDocument :: Show HTMLDocument

Document

class Document b where
  title :: forall eff. b -> Eff (dom :: DOM | eff) String
  setTitle :: forall eff. String -> b -> Eff (dom :: DOM | eff) Unit
  body :: forall eff. b -> Eff (dom :: DOM | eff) HTMLElement
  setBody :: forall eff. HTMLElement -> b -> Eff (dom :: DOM | eff) Unit
  createElement :: forall eff. String -> b -> Eff (dom :: DOM | eff) HTMLElement
Instances
instance htmlDocument :: Document HTMLDocument