Module
Web.DOM.Element
- Package
- purescript-web-dom
- Repository
- purescript-web/purescript-web-dom
#fromParentNode Source
fromParentNode :: ParentNode -> Maybe Element#toChildNode Source
toChildNode :: Element -> ChildNode#toParentNode Source
toParentNode :: Element -> ParentNode#toEventTarget Source
toEventTarget :: Element -> EventTarget#namespaceURI Source
namespaceURI :: Element -> Maybe NamespaceURI#localName Source
localName :: Element -> ElementName#tagName Source
tagName :: Element -> ElementName#attributes Source
attributes :: Element -> Effect NamedNodeMap#ShadowRootInit Source
type ShadowRootInit = { delegatesFocus :: Boolean, mode :: ShadowRootMode }#attachShadow Source
attachShadow :: ShadowRootInit -> Element -> Effect ShadowRoot#scrollIntoView Source
scrollIntoView :: Element -> Effect UnitScrolls the element's ancestor containers so that the element is visible,
using the default alignment (element.scrollIntoView()).
#scrollIntoViewWithOptions Source
scrollIntoViewWithOptions :: ScrollIntoViewOptions -> Element -> Effect UnitScrolls the element into view with the given behavior and alignment
(element.scrollIntoView(options)).
#ScrollBehavior Source
#ScrollLogicalPosition Source
#ScrollIntoViewOptions Source
type ScrollIntoViewOptions = { behavior :: ScrollBehavior, block :: ScrollLogicalPosition, inline :: ScrollLogicalPosition }Re-exports from Web.DOM.Internal.Types
Re-exports from Web.DOM.ParentNode
- Modules
- Web.
DOM - Web.
DOM. Attr - Web.
DOM. AttrName - Web.
DOM. CharacterData - Web.
DOM. ChildNode - Web.
DOM. ClassName - Web.
DOM. Comment - Web.
DOM. DOMTokenList - Web.
DOM. Document - Web.
DOM. Document. CompatMode - Web.
DOM. DocumentFragment - Web.
DOM. DocumentType - Web.
DOM. Element - Web.
DOM. ElementId - Web.
DOM. ElementName - Web.
DOM. HTMLCollection - Web.
DOM. Internal. Types - Web.
DOM. MutationObserver - Web.
DOM. MutationRecord - Web.
DOM. NamedNodeMap - Web.
DOM. NamespacePrefix - Web.
DOM. NamespaceURI - Web.
DOM. Node - Web.
DOM. NodeList - Web.
DOM. NodeType - Web.
DOM. NonDocumentTypeChildNode - Web.
DOM. NonElementParentNode - Web.
DOM. ParentNode - Web.
DOM. ProcessingInstruction - Web.
DOM. PropName - Web.
DOM. ShadowRoot - Web.
DOM. Text