Skip to content

Latest commit

 

History

History
206 lines (137 loc) · 4.05 KB

File metadata and controls

206 lines (137 loc) · 4.05 KB

Module Data.DOM.Simple.Unsafe.Element

HTMLElement

data HTMLElement :: *
Instances
instance showHtmlElement :: Show HTMLElement

unsafeGetElementById

unsafeGetElementById :: forall eff a. String -> a -> Eff (dom :: DOM | eff) HTMLElement

unsafeGetElementsByClassName

unsafeGetElementsByClassName :: forall eff a. String -> a -> Eff (dom :: DOM | eff) (Array HTMLElement)

unsafeGetElementsByName

unsafeGetElementsByName :: forall eff a. String -> a -> Eff (dom :: DOM | eff) (Array HTMLElement)

unsafeQuerySelector

unsafeQuerySelector :: forall eff a. String -> a -> Eff (dom :: DOM | eff) HTMLElement

unsafeQuerySelectorAll

unsafeQuerySelectorAll :: forall eff a. String -> a -> Eff (dom :: DOM | eff) NodeList

unsafeGetAttribute

unsafeGetAttribute :: forall eff a. String -> a -> Eff (dom :: DOM | eff) String

unsafeSetAttribute

unsafeSetAttribute :: forall eff a. String -> String -> a -> Eff (dom :: DOM | eff) Unit

unsafeHasAttribute

unsafeHasAttribute :: forall eff a. String -> a -> Eff (dom :: DOM | eff) Boolean

unsafeRemoveAttribute

unsafeRemoveAttribute :: forall eff a. String -> a -> Eff (dom :: DOM | eff) Unit

unsafeGetStyleAttr

unsafeGetStyleAttr :: forall eff a. String -> a -> Eff (dom :: DOM | eff) String

unsafeSetStyleAttr

unsafeSetStyleAttr :: forall eff a. String -> String -> a -> Eff (dom :: DOM | eff) Unit

unsafeChildren

unsafeChildren :: forall eff a. a -> Eff (dom :: DOM | eff) (Array HTMLElement)

unsafeAppendChild

unsafeAppendChild :: forall eff a. a -> HTMLElement -> Eff (dom :: DOM | eff) Unit

unsafeInnerHTML

unsafeInnerHTML :: forall eff a. a -> Eff (dom :: DOM | eff) String

unsafeSetInnerHTML

unsafeSetInnerHTML :: forall eff a. String -> a -> Eff (dom :: DOM | eff) Unit

unsafeTextContent

unsafeTextContent :: forall eff a. a -> Eff (dom :: DOM | eff) String

unsafeSetTextContent

unsafeSetTextContent :: forall eff a. String -> a -> Eff (dom :: DOM | eff) Unit

unsafeValue

unsafeValue :: forall eff a. a -> Eff (dom :: DOM | eff) String

unsafeSetValue

unsafeSetValue :: forall eff a. String -> a -> Eff (dom :: DOM | eff) Unit

unsafeContentWindow

unsafeContentWindow :: forall eff a. a -> Eff (dom :: DOM | eff) HTMLWindow

unsafeClassAdd

unsafeClassAdd :: forall eff a. String -> a -> Eff (dom :: DOM | eff) Unit

unsafeClassRemove

unsafeClassRemove :: forall eff a. String -> a -> Eff (dom :: DOM | eff) Unit

unsafeClassToggle

unsafeClassToggle :: forall eff a. String -> a -> Eff (dom :: DOM | eff) Unit

unsafeClassContains

unsafeClassContains :: forall eff a. String -> a -> Eff (dom :: DOM | eff) Boolean

unsafeClick

unsafeClick :: forall eff a. a -> Eff (dom :: DOM | eff) Unit

unsafeFocus

unsafeFocus :: forall eff a. a -> Eff (dom :: DOM | eff) Unit

unsafeBlur

unsafeBlur :: forall eff a. a -> Eff (dom :: DOM | eff) Unit

unsafeOffsetParent

unsafeOffsetParent :: forall eff a. a -> Eff (dom :: DOM | eff) HTMLElement

unsafeOffsetHeight

unsafeOffsetHeight :: forall eff a. a -> Eff (dom :: DOM | eff) Int

unsafeOffsetWidth

unsafeOffsetWidth :: forall eff a. a -> Eff (dom :: DOM | eff) Int

unsafeOffsetTop

unsafeOffsetTop :: forall eff a. a -> Eff (dom :: DOM | eff) Int

unsafeOffsetLeft

unsafeOffsetLeft :: forall eff a. a -> Eff (dom :: DOM | eff) Int