Module
DOM.Simple.Element
- Package
- purescript-dom-simple
- Repository
- garganscript/purescript-dom-simple
#boundingRect Source
boundingRect :: forall e. IsElement e => e -> DOMRectRe-exports from DOM.Simple.Child
Re-exports from DOM.Simple.EventListener
#removeEventListener Source
removeEventListener :: forall listener event. IsEventListener listener => IsEvent event => listener -> String -> Callback event -> Effect Unit#dispatchEvent Source
dispatchEvent :: forall l e. IsEventListener l => l -> e -> Effect Unit#addEventListener Source
addEventListener :: forall listener event. IsEventListener listener => IsEvent event => listener -> String -> Callback event -> Effect UnitA little unsafe
Re-exports from DOM.Simple.Node
#textContent Source
textContent :: forall n. IsNode n => n -> String#prevSibling Source
prevSibling :: forall n m. IsNode n => IsNode m => n -> mGets the previous sibling
#parentNode Source
parentNode :: forall n m. IsNode n => IsNode m => n -> m#nextSibling Source
nextSibling :: forall n m. IsNode n => IsNode m => n -> mGets the next sibling
Re-exports from DOM.Simple.Parent
#lastChildElement Source
lastChildElement :: forall n. IsParent n => n -> Maybe ElementFind the last Element that is a child of the current Node, if any
#firstChildElement Source
firstChildElement :: forall n. IsParent n => n -> Maybe ElementFind the first Element that is a child of the current Node, if any
#childCount Source
childCount :: forall n. IsParent n => n -> IntReturns the number of child Elements