Module
DOM.Classy.HTMLElement
- Package
- purescript-dom-classy
- Repository
- garyb/purescript-dom-classy
#IsHTMLElement Source
class (IsElement e) <= IsHTMLElement e where
A class for subtypes of HTMLElement
.
Members
toHTMLElement :: e -> HTMLElement
fromHTMLElement :: HTMLElement -> Maybe e
Instances
IsHTMLElement HTMLElement
IsHTMLElement HTMLHtmlElement
IsHTMLElement HTMLHeadElement
IsHTMLElement HTMLTitleElement
IsHTMLElement HTMLBaseElement
IsHTMLElement HTMLLinkElement
IsHTMLElement HTMLMetaElement
IsHTMLElement HTMLStyleElement
IsHTMLElement HTMLBodyElement
IsHTMLElement HTMLHeadingElement
IsHTMLElement HTMLParagraphElement
IsHTMLElement HTMLHRElement
IsHTMLElement HTMLPreElement
IsHTMLElement HTMLQuoteElement
IsHTMLElement HTMLOListElement
IsHTMLElement HTMLUListElement
IsHTMLElement HTMLLIElement
IsHTMLElement HTMLDListElement
IsHTMLElement HTMLDivElement
IsHTMLElement HTMLAnchorElement
IsHTMLElement HTMLDataElement
IsHTMLElement HTMLTimeElement
IsHTMLElement HTMLSpanElement
IsHTMLElement HTMLBRElement
IsHTMLElement HTMLModElement
IsHTMLElement HTMLImageElement
IsHTMLElement HTMLIFrameElement
IsHTMLElement HTMLEmbedElement
IsHTMLElement HTMLObjectElement
IsHTMLElement HTMLParamElement
IsHTMLElement HTMLMediaElement
IsHTMLElement HTMLAudioElement
IsHTMLElement HTMLVideoElement
IsHTMLElement HTMLSourceElement
IsHTMLElement HTMLTrackElement
IsHTMLElement HTMLMapElement
IsHTMLElement HTMLAreaElement
IsHTMLElement HTMLTableElement
IsHTMLElement HTMLTableCaptionElement
IsHTMLElement HTMLTableColElement
IsHTMLElement HTMLTableSectionElement
IsHTMLElement HTMLTableRowElement
IsHTMLElement HTMLTableCellElement
IsHTMLElement HTMLTableDataCellElement
IsHTMLElement HTMLTableHeaderCellElement
IsHTMLElement HTMLFormElement
IsHTMLElement HTMLLabelElement
IsHTMLElement HTMLInputElement
IsHTMLElement HTMLButtonElement
IsHTMLElement HTMLSelectElement
IsHTMLElement HTMLDataListElement
IsHTMLElement HTMLOptGroupElement
IsHTMLElement HTMLOptionElement
IsHTMLElement HTMLTextAreaElement
IsHTMLElement HTMLKeygenElement
IsHTMLElement HTMLOutputElement
IsHTMLElement HTMLProgressElement
IsHTMLElement HTMLMeterElement
IsHTMLElement HTMLFieldSetElement
IsHTMLElement HTMLLegendElement
IsHTMLElement HTMLScriptElement
IsHTMLElement HTMLTemplateElement
IsHTMLElement HTMLCanvasElement
#contentEditable Source
contentEditable :: forall eff el. IsHTMLElement el => el -> Eff (dom :: DOM | eff) String
#draggable Source
draggable :: forall eff el. IsHTMLElement el => el -> Eff (dom :: DOM | eff) Boolean
#getBoundingClientRect Source
getBoundingClientRect :: forall eff el. IsHTMLElement el => el -> Eff (dom :: DOM | eff) DOMRect
#isContentEditable Source
isContentEditable :: forall eff el. IsHTMLElement el => el -> Eff (dom :: DOM | eff) Boolean
#offsetHeight Source
offsetHeight :: forall eff el. IsHTMLElement el => el -> Eff (dom :: DOM | eff) Number
#offsetLeft Source
offsetLeft :: forall eff el. IsHTMLElement el => el -> Eff (dom :: DOM | eff) Number
#offsetParent Source
offsetParent :: forall eff el. IsHTMLElement el => el -> Eff (dom :: DOM | eff) (Maybe Element)
#offsetTop Source
offsetTop :: forall eff el. IsHTMLElement el => el -> Eff (dom :: DOM | eff) Number
#offsetWidth Source
offsetWidth :: forall eff el. IsHTMLElement el => el -> Eff (dom :: DOM | eff) Number
#setContentEditable Source
setContentEditable :: forall eff el. IsHTMLElement el => String -> el -> Eff (dom :: DOM | eff) Unit
#setDraggable Source
setDraggable :: forall eff el. IsHTMLElement el => Boolean -> el -> Eff (dom :: DOM | eff) Unit
#setSpellcheck Source
setSpellcheck :: forall eff el. IsHTMLElement el => Boolean -> el -> Eff (dom :: DOM | eff) Unit
#setTabIndex Source
setTabIndex :: forall eff el. IsHTMLElement el => Int -> el -> Eff (dom :: DOM | eff) Unit
#spellcheck Source
spellcheck :: forall eff el. IsHTMLElement el => el -> Eff (dom :: DOM | eff) Boolean
Re-exports from DOM.Classy.Element
#textContent Source
textContent :: forall eff n. IsNode n => n -> Eff (dom :: DOM | eff) String
If the node type is document fragment, element, text, processing instruction, or comment this is the node's data, or null in all other cases.
#scrollWidth Source
scrollWidth :: forall el eff. IsElement el => el -> Eff (dom :: DOM | eff) Number
#scrollHeight Source
scrollHeight :: forall el eff. IsElement el => el -> Eff (dom :: DOM | eff) Number
#nodeTypeIndex Source
nodeTypeIndex :: forall n. IsNode n => n -> Int
The numeric value for the type of a node.
#hasChildNodes Source
hasChildNodes :: forall eff n. IsNode n => n -> Eff (dom :: DOM | eff) Boolean
Indicates whether the node has any child nodes.
#getElementsByTagNameNS Source
getElementsByTagNameNS :: forall el eff. IsElement el => Maybe String -> String -> el -> Eff (dom :: DOM | eff) HTMLCollection
#getElementsByTagName Source
getElementsByTagName :: forall el eff. IsElement el => String -> el -> Eff (dom :: DOM | eff) HTMLCollection
#getElementsByClassName Source
getElementsByClassName :: forall el eff. IsElement el => String -> el -> Eff (dom :: DOM | eff) HTMLCollection
#clientWidth Source
clientWidth :: forall el eff. IsElement el => el -> Eff (dom :: DOM | eff) Number
#clientHeight Source
clientHeight :: forall el eff. IsElement el => el -> Eff (dom :: DOM | eff) Number
#childNodes Source
childNodes :: forall eff n. IsNode n => n -> Eff (dom :: DOM | eff) NodeList
The children of the node.