Element$Typings extension

on

Properties

addEventListener → ({void Function<K$>(ElementEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on Element, provided by the Element$Typings extension

Overload accessor: $1, $2
no setter
attachShadow ↔ ShadowRoot Function(ShadowRootInit)

Available on Element, provided by the Element$Typings extension

getter/setter pair
attributes → NamedNodeMap

Available on Element, provided by the Element$Typings extension

MDN Reference
no setter
checkVisibility ↔ bool Function([CheckVisibilityOptions?])

Available on Element, provided by the Element$Typings extension

getter/setter pair
classList → DOMTokenList

Available on Element, provided by the Element$Typings extension

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.
no setter
className ↔ String

Available on Element, provided by the Element$Typings extension

Returns the value of element's class content attribute. Can be set to change it.
getter/setter pair
clientHeight → num

Available on Element, provided by the Element$Typings extension

MDN Reference
no setter
clientLeft → num

Available on Element, provided by the Element$Typings extension

MDN Reference
no setter
clientTop → num

Available on Element, provided by the Element$Typings extension

MDN Reference
no setter
clientWidth → num

Available on Element, provided by the Element$Typings extension

MDN Reference
no setter
closest → ({K$? Function<K$ extends Element>(HTMLElementTagNameMap<K$> selectors) $1, E? Function<E extends Element>(String selectors) $2})

Available on Element, provided by the Element$Typings extension

Overload accessor: $1, $2
no setter
computedStyleMap ↔ StylePropertyMapReadOnly Function()

Available on Element, provided by the Element$Typings extension

getter/setter pair
getAttribute ↔ String? Function(String)

Available on Element, provided by the Element$Typings extension

getter/setter pair
getAttributeNames ↔ List<String> Function()

Available on Element, provided by the Element$Typings extension

getter/setter pair
getAttributeNode ↔ Attr? Function(String)

Available on Element, provided by the Element$Typings extension

getter/setter pair
getAttributeNodeNS ↔ Attr? Function(String, [String?])

Available on Element, provided by the Element$Typings extension

getter/setter pair
getAttributeNS ↔ String? Function(String, [String?])

Available on Element, provided by the Element$Typings extension

getter/setter pair
getBoundingClientRect ↔ DOMRect Function()

Available on Element, provided by the Element$Typings extension

getter/setter pair
getClientRects ↔ DOMRectList Function()

Available on Element, provided by the Element$Typings extension

getter/setter pair
getElementsByClassName ↔ HTMLCollectionOf<Element> Function(String)

Available on Element, provided by the Element$Typings extension

getter/setter pair
getElementsByTagName → ({HTMLCollectionOf<K$> Function<K$ extends Element>(HTMLElementTagNameMap<K$> qualifiedName) $1, HTMLCollectionOf<Element> Function(String) $2})

Available on Element, provided by the Element$Typings extension

Overload accessor: $1, $2
no setter
getElementsByTagNameNS → ({HTMLCollectionOf<HTMLElement> Function(String namespaceURI, String localName) $1, HTMLCollectionOf<SVGElement> Function(String namespaceURI, String localName) $2, HTMLCollectionOf<MathMLElement> Function(String namespaceURI, String localName) $3, HTMLCollectionOf<Element> Function(String localName, [String? namespace]) $4})

Available on Element, provided by the Element$Typings extension

Overload accessor: $1, $2, $3, $4
no setter
hasAttribute ↔ bool Function(String)

Available on Element, provided by the Element$Typings extension

getter/setter pair
hasAttributeNS ↔ bool Function(String, [String?])

Available on Element, provided by the Element$Typings extension

getter/setter pair
hasAttributes ↔ bool Function()

Available on Element, provided by the Element$Typings extension

getter/setter pair
hasPointerCapture ↔ bool Function(num)

Available on Element, provided by the Element$Typings extension

getter/setter pair
id ↔ String

Available on Element, provided by the Element$Typings extension

Returns the value of element's id content attribute. Can be set to change it.
getter/setter pair
insertAdjacentElement ↔ Element? Function(InsertPosition, Element)

Available on Element, provided by the Element$Typings extension

getter/setter pair
insertAdjacentHTML ↔ void Function(InsertPosition, String)

Available on Element, provided by the Element$Typings extension

getter/setter pair
insertAdjacentText ↔ void Function(InsertPosition, String)

Available on Element, provided by the Element$Typings extension

getter/setter pair
localName → String

Available on Element, provided by the Element$Typings extension

Returns the local name.
no setter
matches ↔ bool Function(String)

Available on Element, provided by the Element$Typings extension

getter/setter pair
namespaceURI → String?

Available on Element, provided by the Element$Typings extension

Returns the namespace.
no setter
onfullscreenchange ↔ dynamic Function(Event)?

Available on Element, provided by the Element$Typings extension

MDN Reference
getter/setter pair
onfullscreenerror ↔ dynamic Function(Event)?

Available on Element, provided by the Element$Typings extension

MDN Reference
getter/setter pair
outerHTML ↔ String

Available on Element, provided by the Element$Typings extension

MDN Reference
getter/setter pair
ownerDocument → Document

Available on Element, provided by the Element$Typings extension

Returns the node document. Returns null for documents.
no setter
part → DOMTokenList

Available on Element, provided by the Element$Typings extension

MDN Reference
no setter
prefix → String?

Available on Element, provided by the Element$Typings extension

Returns the namespace prefix.
no setter
releasePointerCapture ↔ void Function(num handle)

Available on Element, provided by the Element$Typings extension

getter/setter pair
removeAttribute ↔ void Function(String)

Available on Element, provided by the Element$Typings extension

getter/setter pair
removeAttributeNode ↔ Attr Function(Attr)

Available on Element, provided by the Element$Typings extension

getter/setter pair
removeAttributeNS ↔ void Function(String, [String?])

Available on Element, provided by the Element$Typings extension

getter/setter pair
removeEventListener → ({void Function<K$>(ElementEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on Element, provided by the Element$Typings extension

Overload accessor: $1, $2
no setter
requestFullscreen ↔ Future<void> Function([FullscreenOptions?])

Available on Element, provided by the Element$Typings extension

getter/setter pair
requestPointerLock ↔ void Function()

Available on Element, provided by the Element$Typings extension

getter/setter pair
scroll → ({void Function([ScrollToOptions? options]) $1, void Function(num x, num y) $2})

Available on Element, provided by the Element$Typings extension

Overload accessor: $1, $2
no setter
scrollBy → ({void Function([ScrollToOptions? options]) $1, void Function(num x, num y) $2})

Available on Element, provided by the Element$Typings extension

Overload accessor: $1, $2
no setter
scrollHeight → num

Available on Element, provided by the Element$Typings extension

MDN Reference
no setter
scrollIntoView ↔ void Function([Object?])

Available on Element, provided by the Element$Typings extension

getter/setter pair
scrollLeft ↔ num

Available on Element, provided by the Element$Typings extension

MDN Reference
getter/setter pair
scrollTo → ({void Function([ScrollToOptions? options]) $1, void Function(num x, num y) $2})

Available on Element, provided by the Element$Typings extension

Overload accessor: $1, $2
no setter
scrollTop ↔ num

Available on Element, provided by the Element$Typings extension

MDN Reference
getter/setter pair
scrollWidth → num

Available on Element, provided by the Element$Typings extension

MDN Reference
no setter
setAttribute ↔ void Function(String, String)

Available on Element, provided by the Element$Typings extension

getter/setter pair
setAttributeNode ↔ Attr? Function(Attr)

Available on Element, provided by the Element$Typings extension

getter/setter pair
setAttributeNodeNS ↔ Attr? Function(Attr)

Available on Element, provided by the Element$Typings extension

getter/setter pair
setAttributeNS ↔ void Function(String, String, [String?])

Available on Element, provided by the Element$Typings extension

getter/setter pair
setPointerCapture ↔ void Function(num handle)

Available on Element, provided by the Element$Typings extension

getter/setter pair
shadowRoot → ShadowRoot?

Available on Element, provided by the Element$Typings extension

Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.
no setter
slot ↔ String

Available on Element, provided by the Element$Typings extension

Returns the value of element's slot content attribute. Can be set to change it.
getter/setter pair
tagName → String

Available on Element, provided by the Element$Typings extension

Returns the HTML-uppercased qualified name.
no setter
toggleAttribute ↔ bool Function(String, [bool?])

Available on Element, provided by the Element$Typings extension

getter/setter pair
webkitMatchesSelector ↔ bool Function(String)

Available on Element, provided by the Element$Typings extension

getter/setter pair