Skip to content

API Reference

@theme-kit/web

Framework-free theming for any HTML page via custom elements.

Functions

defineCustomElements(): void

Returns void


getProviderRuntime(el?): ThemeRuntime<ThemeDefinition<string>> | undefined

ParameterTypeDescription
elThemeKitProviderElement (optional)

Returns ThemeRuntime<ThemeDefinition<string>> | undefined


getThemeSchedule(): ThemeSchedule | null

Reactive sunrise/sunset schedule controller. Returns null when the provider was created without the scheduled option.

ts
const schedule = getThemeSchedule();
schedule?.enable();
schedule?.disable();
schedule?.set({ timeZone: "Asia/Kathmandu" });

Returns ThemeSchedule | null


useThemeFamily(): string

Returns string


useThemeMode(): ThemeMode

Returns ThemeMode


useThemeRuntime(): ThemeRuntime<ThemeDefinition<string>>

Returns ThemeRuntime<ThemeDefinition<string>>


useThemeTokens(): ThemeTokens | undefined

Returns ThemeTokens | undefined


useThemeValue(): ThemeDefinition<string>

Returns ThemeDefinition<string>


Classes

class ThemeKitInspector

Extends HTMLElement

MemberTypeDescription
constructorThemeKitInspector
accessKeystringThe HTMLElement.accessKey property sets the keystroke which a user can press to jump to a given element.

MDN Reference | | readonly accessKeyLabel | string | The HTMLElement.accessKeyLabel read-only property returns a string containing the element's browser-assigned access key (if any); otherwise it returns an empty string.

MDN Reference | | ariaActiveDescendantElement | Element | null | MDN Reference | | ariaAtomic | string | null | MDN Reference | | ariaAutoComplete | string | null | MDN Reference | | ariaBrailleLabel | string | null | MDN Reference | | ariaBrailleRoleDescription | string | null | MDN Reference | | ariaBusy | string | null | MDN Reference | | ariaChecked | string | null | MDN Reference | | ariaColCount | string | null | MDN Reference | | ariaColIndex | string | null | MDN Reference | | ariaColIndexText | string | null | MDN Reference | | ariaColSpan | string | null | MDN Reference | | ariaControlsElements | readonly Element[] | null | MDN Reference | | ariaCurrent | string | null | MDN Reference | | ariaDescribedByElements | readonly Element[] | null | MDN Reference | | ariaDescription | string | null | MDN Reference | | ariaDetailsElements | readonly Element[] | null | MDN Reference | | ariaDisabled | string | null | MDN Reference | | ariaErrorMessageElements | readonly Element[] | null | MDN Reference | | ariaExpanded | string | null | MDN Reference | | ariaFlowToElements | readonly Element[] | null | MDN Reference | | ariaHasPopup | string | null | MDN Reference | | ariaHidden | string | null | MDN Reference | | ariaInvalid | string | null | MDN Reference | | ariaKeyShortcuts | string | null | MDN Reference | | ariaLabel | string | null | MDN Reference | | ariaLabelledByElements | readonly Element[] | null | MDN Reference | | ariaLevel | string | null | MDN Reference | | ariaLive | string | null | MDN Reference | | ariaModal | string | null | MDN Reference | | ariaMultiLine | string | null | MDN Reference | | ariaMultiSelectable | string | null | MDN Reference | | ariaOrientation | string | null | MDN Reference | | ariaOwnsElements | readonly Element[] | null | MDN Reference | | ariaPlaceholder | string | null | MDN Reference | | ariaPosInSet | string | null | MDN Reference | | ariaPressed | string | null | MDN Reference | | ariaReadOnly | string | null | MDN Reference | | ariaRelevant | string | null | MDN Reference | | ariaRequired | string | null | MDN Reference | | ariaRoleDescription | string | null | MDN Reference | | ariaRowCount | string | null | MDN Reference | | ariaRowIndex | string | null | MDN Reference | | ariaRowIndexText | string | null | MDN Reference | | ariaRowSpan | string | null | MDN Reference | | ariaSelected | string | null | MDN Reference | | ariaSetSize | string | null | MDN Reference | | ariaSort | string | null | MDN Reference | | ariaValueMax | string | null | MDN Reference | | ariaValueMin | string | null | MDN Reference | | ariaValueNow | string | null | MDN Reference | | ariaValueText | string | null | MDN Reference | | readonly assignedSlot | HTMLSlotElement | null | MDN Reference | | readonly ATTRIBUTE_NODE | 2 | — | | readonly attributes | NamedNodeMap | The Element.attributes property returns a live collection of all attribute nodes registered to the specified node.

MDN Reference | | readonly attributeStyleMap | StylePropertyMap | MDN Reference | | autocapitalize | string | The autocapitalize property of the HTMLElement interface represents the element's capitalization behavior for user input.

MDN Reference | | autocorrect | boolean | The autocorrect property of the HTMLElement interface controls whether or not autocorrection of editable text is enabled for spelling and/or punctuation errors.

MDN Reference | | autofocus | boolean | MDN Reference | | readonly baseURI | string | The read-only baseURI property of the Node interface returns the absolute base URL of the document containing the node.

MDN Reference | | readonly CDATA_SECTION_NODE | 4 | node is a CDATASection node. | | readonly childElementCount | number | MDN Reference | | readonly childNodes | NodeListOf<ChildNode> | The read-only childNodes property of the Node interface returns a live the first child node is assigned index 0.

MDN Reference | | readonly children | HTMLCollection | Returns the child elements.

MDN Reference | | className | string | The className property of the of the specified element.

MDN Reference | | readonly clientHeight | number | The clientHeight read-only property of the Element interface is zero for elements with no CSS or inline layout boxes; otherwise, it's the inner height of an element in pixels.

MDN Reference | | readonly clientLeft | number | The clientLeft read-only property of the Element interface returns the width of the left border of an element in pixels.

MDN Reference | | readonly clientTop | number | The clientTop read-only property of the Element interface returns the width of the top border of an element in pixels.

MDN Reference | | readonly clientWidth | number | The clientWidth read-only property of the Element interface is zero for inline elements and elements with no CSS; otherwise, it's the inner width of an element in pixels.

MDN Reference | | readonly COMMENT_NODE | 8 | node is a Comment node. | | contentEditable | string | MDN Reference | | readonly currentCSSZoom | number | The currentCSSZoom read-only property of the Element interface provides the 'effective' CSS zoom of an element, taking into account the zoom applied to the element and all its parent elements.

MDN Reference | | readonly dataset | DOMStringMap | MDN Reference | | dir | string | The HTMLElement.dir property indicates the text writing directionality of the content of the current element.

MDN Reference | | readonly DOCUMENT_FRAGMENT_NODE | 11 | node is a DocumentFragment node. | | readonly DOCUMENT_NODE | 9 | node is a document. | | readonly DOCUMENT_POSITION_CONTAINED_BY | 16 | Set when other is a descendant of node. | | readonly DOCUMENT_POSITION_CONTAINS | 8 | Set when other is an ancestor of node. | | readonly DOCUMENT_POSITION_DISCONNECTED | 1 | Set when node and other are not in the same tree. | | readonly DOCUMENT_POSITION_FOLLOWING | 4 | Set when other is following node. | | readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC | 32 | — | | readonly DOCUMENT_POSITION_PRECEDING | 2 | Set when other is preceding node. | | readonly DOCUMENT_TYPE_NODE | 10 | node is a doctype. | | draggable | boolean | The draggable property of the HTMLElement interface gets and sets a Boolean primitive indicating if the element is draggable.

MDN Reference | | readonly ELEMENT_NODE | 1 | node is an element. | | enterKeyHint | string | MDN Reference | | readonly ENTITY_NODE | 6 | — | | readonly ENTITY_REFERENCE_NODE | 5 | — | | readonly firstChild | ChildNode | null | The read-only firstChild property of the Node interface returns the node's first child in the tree, or null if the node has no children.

MDN Reference | | readonly firstElementChild | Element | null | Returns the first child that is an element, and null otherwise.

MDN Reference | | hidden | boolean | The HTMLElement property hidden reflects the value of the element's hidden attribute.

MDN Reference | | id | string | The id property of the Element interface represents the element's identifier, reflecting the id global attribute.

MDN Reference | | inert | boolean | The HTMLElement property inert reflects the value of the element's inert attribute.

MDN Reference | | innerHTML | string | The innerHTML property of the Element interface gets or sets the HTML or XML markup contained within the element.

MDN Reference | | innerText | string | The innerText property of the HTMLElement interface represents the rendered text content of a node and its descendants.

MDN Reference | | inputMode | string | MDN Reference | | readonly isConnected | boolean | The read-only isConnected property of the Node interface returns a boolean indicating whether the node is connected (directly or indirectly) to a Document object.

MDN Reference | | readonly isContentEditable | boolean | MDN Reference | | lang | string | The lang property of the HTMLElement interface indicates the base language of an element's attribute values and text content, in the form of a MISSING: RFC(5646, 'BCP 47 language identifier tag')].

MDN Reference | | readonly lastChild | ChildNode | null | The read-only lastChild property of the Node interface returns the last child of the node, or null if there are no child nodes.

MDN Reference | | readonly lastElementChild | Element | null | Returns the last child that is an element, and null otherwise.

MDN Reference | | readonly localName | string | The Element.localName read-only property returns the local part of the qualified name of an element.

MDN Reference | | readonly namespaceURI | string | null | The Element.namespaceURI read-only property returns the namespace URI of the element, or null if the element is not in a namespace.

MDN Reference | | readonly nextElementSibling | Element | null | Returns the first following sibling that is an element, and null otherwise.

MDN Reference | | readonly nextSibling | ChildNode | null | The read-only nextSibling property of the Node interface returns the node immediately following the specified one in their parent's Node.childNodes, or returns null if the specified node is the last child in the parent element.

MDN Reference | | readonly nodeName | string | The read-only nodeName property of Node returns the name of the current node as a string.

MDN Reference | | readonly nodeType | number | The read-only nodeType property of a Node interface is an integer that identifies what the node is.

MDN Reference | | nodeValue | string | null | The nodeValue property of the Node interface returns or sets the value of the current node.

MDN Reference | | nonce (optional) | string | MDN Reference | | readonly NOTATION_NODE | 12 | — | | readonly offsetHeight | number | The offsetHeight read-only property of the HTMLElement interface returns the height of an element, including vertical padding and borders, as an integer.

MDN Reference | | readonly offsetLeft | number | The offsetLeft read-only property of the HTMLElement interface returns the number of pixels that the upper left corner of the current element is offset to the left within the HTMLElement.offsetParent node.

MDN Reference | | readonly offsetParent | Element | null | The HTMLElement.offsetParent read-only property returns a reference to the element which is the closest (nearest in the containment hierarchy) positioned ancestor element.

MDN Reference | | readonly offsetTop | number | The offsetTop read-only property of the HTMLElement interface returns the distance from the outer border of the current element (including its margin) to the top padding edge of the HTMLelement.offsetParent, the closest positioned ancestor element.

MDN Reference | | readonly offsetWidth | number | The offsetWidth read-only property of the HTMLElement interface returns the layout width of an element as an integer.

MDN Reference | | onabort | __type(this: GlobalEventHandlers, ev: UIEvent): any | null | MDN Reference | | onanimationcancel | __type(this: GlobalEventHandlers, ev: AnimationEvent): any | null | MDN Reference | | onanimationend | __type(this: GlobalEventHandlers, ev: AnimationEvent): any | null | MDN Reference | | onanimationiteration | __type(this: GlobalEventHandlers, ev: AnimationEvent): any | null | MDN Reference | | onanimationstart | __type(this: GlobalEventHandlers, ev: AnimationEvent): any | null | MDN Reference | | onauxclick | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onbeforeinput | __type(this: GlobalEventHandlers, ev: InputEvent): any | null | MDN Reference | | onbeforematch | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onbeforetoggle | __type(this: GlobalEventHandlers, ev: ToggleEvent): any | null | MDN Reference | | onblur | __type(this: GlobalEventHandlers, ev: FocusEvent): any | null | MDN Reference | | oncancel | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncanplay | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncanplaythrough | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onchange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onclick | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onclose | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncontextlost | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncontextmenu | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | oncontextrestored | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncopy | __type(this: GlobalEventHandlers, ev: ClipboardEvent): any | null | MDN Reference | | oncuechange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncut | __type(this: GlobalEventHandlers, ev: ClipboardEvent): any | null | MDN Reference | | ondblclick | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | ondrag | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragend | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragenter | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragleave | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragover | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragstart | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondrop | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondurationchange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onemptied | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onended | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onerror | OnErrorEventHandler | MDN Reference | | onfocus | __type(this: GlobalEventHandlers, ev: FocusEvent): any | null | MDN Reference | | onformdata | __type(this: GlobalEventHandlers, ev: FormDataEvent): any | null | MDN Reference | | onfullscreenchange | __type(this: Element, ev: Event): any | null | MDN Reference | | onfullscreenerror | __type(this: Element, ev: Event): any | null | MDN Reference | | ongotpointercapture | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | oninput | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oninvalid | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onkeydown | __type(this: GlobalEventHandlers, ev: KeyboardEvent): any | null | MDN Reference | | onkeypress | __type(this: GlobalEventHandlers, ev: KeyboardEvent): any | null | — | | onkeyup | __type(this: GlobalEventHandlers, ev: KeyboardEvent): any | null | MDN Reference | | onload | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onloadeddata | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onloadedmetadata | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onloadstart | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onlostpointercapture | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onmousedown | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseenter | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseleave | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmousemove | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseout | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseover | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseup | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onpaste | __type(this: GlobalEventHandlers, ev: ClipboardEvent): any | null | MDN Reference | | onpause | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onplay | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onplaying | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onpointercancel | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerdown | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerenter | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerleave | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointermove | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerout | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerover | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerrawupdate | __type(this: GlobalEventHandlers, ev: Event): any | null | Available only in secure contexts.

MDN Reference | | onpointerup | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onprogress | __type(this: GlobalEventHandlers, ev: ProgressEvent): any | null | MDN Reference | | onratechange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onreset | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onresize | __type(this: GlobalEventHandlers, ev: UIEvent): any | null | MDN Reference | | onscroll | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onscrollend | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onsecuritypolicyviolation | __type(this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent): any | null | MDN Reference | | onseeked | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onseeking | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onselect | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onselectionchange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onselectstart | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onslotchange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onstalled | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onsubmit | __type(this: GlobalEventHandlers, ev: SubmitEvent): any | null | MDN Reference | | onsuspend | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | ontimeupdate | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | ontoggle | __type(this: GlobalEventHandlers, ev: ToggleEvent): any | null | MDN Reference | | ontouchcancel (optional) | __type(this: GlobalEventHandlers, ev: TouchEvent): any | null | MDN Reference | | ontouchend (optional) | __type(this: GlobalEventHandlers, ev: TouchEvent): any | null | MDN Reference | | ontouchmove (optional) | __type(this: GlobalEventHandlers, ev: TouchEvent): any | null | MDN Reference | | ontouchstart (optional) | __type(this: GlobalEventHandlers, ev: TouchEvent): any | null | MDN Reference | | ontransitioncancel | __type(this: GlobalEventHandlers, ev: TransitionEvent): any | null | MDN Reference | | ontransitionend | __type(this: GlobalEventHandlers, ev: TransitionEvent): any | null | MDN Reference | | ontransitionrun | __type(this: GlobalEventHandlers, ev: TransitionEvent): any | null | MDN Reference | | ontransitionstart | __type(this: GlobalEventHandlers, ev: TransitionEvent): any | null | MDN Reference | | onvolumechange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onwaiting | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onwebkitanimationend | __type(this: GlobalEventHandlers, ev: Event): any | null | — | | onwebkitanimationiteration | __type(this: GlobalEventHandlers, ev: Event): any | null | — | | onwebkitanimationstart | __type(this: GlobalEventHandlers, ev: Event): any | null | — | | onwebkittransitionend | __type(this: GlobalEventHandlers, ev: Event): any | null | — | | onwheel | __type(this: GlobalEventHandlers, ev: WheelEvent): any | null | MDN Reference | | outerHTML | string | The outerHTML attribute of the Element DOM interface gets the serialized HTML fragment describing the element including its descendants.

MDN Reference | | outerText | string | The outerText property of the HTMLElement interface returns the same value as HTMLElement.innerText.

MDN Reference | | readonly ownerDocument | Document | The read-only ownerDocument property of the Node interface returns the top-level document object of the node.

MDN Reference | | readonly parentElement | HTMLElement | null | The read-only parentElement property of Node interface returns the DOM node's parent Element, or null if the node either has no parent, or its parent isn't a DOM Element.

MDN Reference | | readonly parentNode | ParentNode | null | The read-only parentNode property of the Node interface returns the parent of the specified node in the DOM tree.

MDN Reference | | popover | string | null | The popover property of the HTMLElement interface gets and sets an element's popover state via JavaScript ('auto', 'hint', or 'manual'), and can be used for feature detection.

MDN Reference | | readonly prefix | string | null | The Element.prefix read-only property returns the namespace prefix of the specified element, or null if no prefix is specified.

MDN Reference | | readonly previousElementSibling | Element | null | Returns the first preceding sibling that is an element, and null otherwise.

MDN Reference | | readonly previousSibling | ChildNode | null | The read-only previousSibling property of the Node interface returns the node immediately preceding the specified one in its parent's or null if the specified node is the first in that list.

MDN Reference | | readonly PROCESSING_INSTRUCTION_NODE | 7 | node is a ProcessingInstruction node. | | role | string | null | MDN Reference | | readonly scrollHeight | number | The scrollHeight read-only property of the Element interface is a measurement of the height of an element's content, including content not visible on the screen due to overflow.

MDN Reference | | scrollLeft | number | The scrollLeft property of the Element interface gets or sets the number of pixels by which an element's content is scrolled from its left edge.

MDN Reference | | scrollTop | number | The scrollTop property of the Element interface gets or sets the number of pixels by which an element's content is scrolled from its top edge.

MDN Reference | | readonly scrollWidth | number | The scrollWidth read-only property of the Element interface is a measurement of the width of an element's content, including content not visible on the screen due to overflow.

MDN Reference | | readonly shadowRoot | ShadowRoot | null | The Element.shadowRoot read-only property represents the shadow root hosted by the element.

MDN Reference | | slot | string | The slot property of the Element interface returns the name of the shadow DOM slot the element is inserted in.

MDN Reference | | spellcheck | boolean | The spellcheck property of the HTMLElement interface represents a boolean value that controls the spell-checking hint.

MDN Reference | | tabIndex | number | MDN Reference | | readonly tagName | string | The tagName read-only property of the Element interface returns the tag name of the element on which it's called.

MDN Reference | | readonly TEXT_NODE | 3 | node is a Text node. | | title | string | The HTMLElement.title property represents the title of the element: the text usually displayed in a 'tooltip' popup when the mouse is over the node.

MDN Reference | | translate | boolean | The translate property of the HTMLElement interface indicates whether an element's attribute values and the values of its Text node children are to be translated when the page is localized, or whether to leave them unchanged.

MDN Reference | | writingSuggestions | string | The writingSuggestions property of the HTMLElement interface is a string indicating if browser-provided writing suggestions should be enabled under the scope of the element or not.

MDN Reference | | observedAttributes | string[] | — | | classList | void | — | | part | void | — | | style | void | — | | textContent | void | — | | addEventListener | void | — | | after | void | — | | animate | Animation | — | | append | void | — | | appendChild | T | — | | attachInternals | ElementInternals | — | | attachShadow | ShadowRoot | — | | attributeChangedCallback | void | — | | before | void | — | | blur | void | — | | checkVisibility | boolean | — | | click | void | — | | cloneNode | Node | — | | closest | HTMLElementTagNameMap[K] | null | — | | compareDocumentPosition | number | — | | computedStyleMap | StylePropertyMapReadOnly | — | | connectedCallback | void | — | | contains | boolean | — | | disconnectedCallback | void | — | | dispatchEvent | boolean | — | | focus | void | — | | getAnimations | Animation[] | — | | getAttribute | string | null | — | | getAttributeNames | string[] | — | | getAttributeNode | Attr | null | — | | getAttributeNodeNS | Attr | null | — | | getAttributeNS | string | null | — | | getBoundingClientRect | DOMRect | — | | getClientRects | DOMRectList | — | | getElementsByClassName | HTMLCollectionOf<Element> | — | | getElementsByTagName | HTMLCollectionOf<HTMLElementTagNameMap[K]> | — | | getElementsByTagNameNS | HTMLCollectionOf<HTMLElement> | — | | getHTML | string | — | | getRootNode | Node | — | | hasAttribute | boolean | — | | hasAttributeNS | boolean | — | | hasAttributes | boolean | — | | hasChildNodes | boolean | — | | hasPointerCapture | boolean | — | | hidePopover | void | — | | insertAdjacentElement | Element | null | — | | insertAdjacentHTML | void | — | | insertAdjacentText | void | — | | insertBefore | T | — | | isDefaultNamespace | boolean | — | | isEqualNode | boolean | — | | isSameNode | boolean | — | | lookupNamespaceURI | string | null | — | | lookupPrefix | string | null | — | | matches | boolean | — | | normalize | void | — | | prepend | void | — | | querySelector | HTMLElementTagNameMap[K] | null | — | | querySelectorAll | NodeListOf<HTMLElementTagNameMap[K]> | — | | releasePointerCapture | void | — | | remove | void | — | | removeAttribute | void | — | | removeAttributeNode | Attr | — | | removeAttributeNS | void | — | | removeChild | T | — | | removeEventListener | void | — | | replaceChild | T | — | | replaceChildren | void | — | | replaceWith | void | — | | requestFullscreen | Promise<void> | — | | requestPointerLock | Promise<void> | — | | scroll | void | — | | scrollBy | void | — | | scrollIntoView | void | — | | scrollTo | void | — | | setAttribute | void | — | | setAttributeNode | Attr | null | — | | setAttributeNodeNS | Attr | null | — | | setAttributeNS | void | — | | setHTMLUnsafe | void | — | | setPointerCapture | void | — | | showPopover | void | — | | toggleAttribute | boolean | — | | togglePopover | boolean | — | | webkitMatchesSelector | boolean | — | | define | void | — |


class ThemeKitProvider

Extends HTMLElement

MemberTypeDescription
constructorThemeKitProvider
accessKeystringThe HTMLElement.accessKey property sets the keystroke which a user can press to jump to a given element.

MDN Reference | | readonly accessKeyLabel | string | The HTMLElement.accessKeyLabel read-only property returns a string containing the element's browser-assigned access key (if any); otherwise it returns an empty string.

MDN Reference | | ariaActiveDescendantElement | Element | null | MDN Reference | | ariaAtomic | string | null | MDN Reference | | ariaAutoComplete | string | null | MDN Reference | | ariaBrailleLabel | string | null | MDN Reference | | ariaBrailleRoleDescription | string | null | MDN Reference | | ariaBusy | string | null | MDN Reference | | ariaChecked | string | null | MDN Reference | | ariaColCount | string | null | MDN Reference | | ariaColIndex | string | null | MDN Reference | | ariaColIndexText | string | null | MDN Reference | | ariaColSpan | string | null | MDN Reference | | ariaControlsElements | readonly Element[] | null | MDN Reference | | ariaCurrent | string | null | MDN Reference | | ariaDescribedByElements | readonly Element[] | null | MDN Reference | | ariaDescription | string | null | MDN Reference | | ariaDetailsElements | readonly Element[] | null | MDN Reference | | ariaDisabled | string | null | MDN Reference | | ariaErrorMessageElements | readonly Element[] | null | MDN Reference | | ariaExpanded | string | null | MDN Reference | | ariaFlowToElements | readonly Element[] | null | MDN Reference | | ariaHasPopup | string | null | MDN Reference | | ariaHidden | string | null | MDN Reference | | ariaInvalid | string | null | MDN Reference | | ariaKeyShortcuts | string | null | MDN Reference | | ariaLabel | string | null | MDN Reference | | ariaLabelledByElements | readonly Element[] | null | MDN Reference | | ariaLevel | string | null | MDN Reference | | ariaLive | string | null | MDN Reference | | ariaModal | string | null | MDN Reference | | ariaMultiLine | string | null | MDN Reference | | ariaMultiSelectable | string | null | MDN Reference | | ariaOrientation | string | null | MDN Reference | | ariaOwnsElements | readonly Element[] | null | MDN Reference | | ariaPlaceholder | string | null | MDN Reference | | ariaPosInSet | string | null | MDN Reference | | ariaPressed | string | null | MDN Reference | | ariaReadOnly | string | null | MDN Reference | | ariaRelevant | string | null | MDN Reference | | ariaRequired | string | null | MDN Reference | | ariaRoleDescription | string | null | MDN Reference | | ariaRowCount | string | null | MDN Reference | | ariaRowIndex | string | null | MDN Reference | | ariaRowIndexText | string | null | MDN Reference | | ariaRowSpan | string | null | MDN Reference | | ariaSelected | string | null | MDN Reference | | ariaSetSize | string | null | MDN Reference | | ariaSort | string | null | MDN Reference | | ariaValueMax | string | null | MDN Reference | | ariaValueMin | string | null | MDN Reference | | ariaValueNow | string | null | MDN Reference | | ariaValueText | string | null | MDN Reference | | readonly assignedSlot | HTMLSlotElement | null | MDN Reference | | readonly ATTRIBUTE_NODE | 2 | — | | readonly attributes | NamedNodeMap | The Element.attributes property returns a live collection of all attribute nodes registered to the specified node.

MDN Reference | | readonly attributeStyleMap | StylePropertyMap | MDN Reference | | autocapitalize | string | The autocapitalize property of the HTMLElement interface represents the element's capitalization behavior for user input.

MDN Reference | | autocorrect | boolean | The autocorrect property of the HTMLElement interface controls whether or not autocorrection of editable text is enabled for spelling and/or punctuation errors.

MDN Reference | | autofocus | boolean | MDN Reference | | readonly baseURI | string | The read-only baseURI property of the Node interface returns the absolute base URL of the document containing the node.

MDN Reference | | readonly CDATA_SECTION_NODE | 4 | node is a CDATASection node. | | readonly childElementCount | number | MDN Reference | | readonly childNodes | NodeListOf<ChildNode> | The read-only childNodes property of the Node interface returns a live the first child node is assigned index 0.

MDN Reference | | readonly children | HTMLCollection | Returns the child elements.

MDN Reference | | className | string | The className property of the of the specified element.

MDN Reference | | readonly clientHeight | number | The clientHeight read-only property of the Element interface is zero for elements with no CSS or inline layout boxes; otherwise, it's the inner height of an element in pixels.

MDN Reference | | readonly clientLeft | number | The clientLeft read-only property of the Element interface returns the width of the left border of an element in pixels.

MDN Reference | | readonly clientTop | number | The clientTop read-only property of the Element interface returns the width of the top border of an element in pixels.

MDN Reference | | readonly clientWidth | number | The clientWidth read-only property of the Element interface is zero for inline elements and elements with no CSS; otherwise, it's the inner width of an element in pixels.

MDN Reference | | readonly COMMENT_NODE | 8 | node is a Comment node. | | contentEditable | string | MDN Reference | | readonly currentCSSZoom | number | The currentCSSZoom read-only property of the Element interface provides the 'effective' CSS zoom of an element, taking into account the zoom applied to the element and all its parent elements.

MDN Reference | | readonly dataset | DOMStringMap | MDN Reference | | dir | string | The HTMLElement.dir property indicates the text writing directionality of the content of the current element.

MDN Reference | | readonly DOCUMENT_FRAGMENT_NODE | 11 | node is a DocumentFragment node. | | readonly DOCUMENT_NODE | 9 | node is a document. | | readonly DOCUMENT_POSITION_CONTAINED_BY | 16 | Set when other is a descendant of node. | | readonly DOCUMENT_POSITION_CONTAINS | 8 | Set when other is an ancestor of node. | | readonly DOCUMENT_POSITION_DISCONNECTED | 1 | Set when node and other are not in the same tree. | | readonly DOCUMENT_POSITION_FOLLOWING | 4 | Set when other is following node. | | readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC | 32 | — | | readonly DOCUMENT_POSITION_PRECEDING | 2 | Set when other is preceding node. | | readonly DOCUMENT_TYPE_NODE | 10 | node is a doctype. | | draggable | boolean | The draggable property of the HTMLElement interface gets and sets a Boolean primitive indicating if the element is draggable.

MDN Reference | | readonly ELEMENT_NODE | 1 | node is an element. | | enterKeyHint | string | MDN Reference | | readonly ENTITY_NODE | 6 | — | | readonly ENTITY_REFERENCE_NODE | 5 | — | | readonly firstChild | ChildNode | null | The read-only firstChild property of the Node interface returns the node's first child in the tree, or null if the node has no children.

MDN Reference | | readonly firstElementChild | Element | null | Returns the first child that is an element, and null otherwise.

MDN Reference | | hidden | boolean | The HTMLElement property hidden reflects the value of the element's hidden attribute.

MDN Reference | | id | string | The id property of the Element interface represents the element's identifier, reflecting the id global attribute.

MDN Reference | | inert | boolean | The HTMLElement property inert reflects the value of the element's inert attribute.

MDN Reference | | innerHTML | string | The innerHTML property of the Element interface gets or sets the HTML or XML markup contained within the element.

MDN Reference | | innerText | string | The innerText property of the HTMLElement interface represents the rendered text content of a node and its descendants.

MDN Reference | | inputMode | string | MDN Reference | | readonly isConnected | boolean | The read-only isConnected property of the Node interface returns a boolean indicating whether the node is connected (directly or indirectly) to a Document object.

MDN Reference | | readonly isContentEditable | boolean | MDN Reference | | lang | string | The lang property of the HTMLElement interface indicates the base language of an element's attribute values and text content, in the form of a MISSING: RFC(5646, 'BCP 47 language identifier tag')].

MDN Reference | | readonly lastChild | ChildNode | null | The read-only lastChild property of the Node interface returns the last child of the node, or null if there are no child nodes.

MDN Reference | | readonly lastElementChild | Element | null | Returns the last child that is an element, and null otherwise.

MDN Reference | | readonly localName | string | The Element.localName read-only property returns the local part of the qualified name of an element.

MDN Reference | | readonly namespaceURI | string | null | The Element.namespaceURI read-only property returns the namespace URI of the element, or null if the element is not in a namespace.

MDN Reference | | readonly nextElementSibling | Element | null | Returns the first following sibling that is an element, and null otherwise.

MDN Reference | | readonly nextSibling | ChildNode | null | The read-only nextSibling property of the Node interface returns the node immediately following the specified one in their parent's Node.childNodes, or returns null if the specified node is the last child in the parent element.

MDN Reference | | readonly nodeName | string | The read-only nodeName property of Node returns the name of the current node as a string.

MDN Reference | | readonly nodeType | number | The read-only nodeType property of a Node interface is an integer that identifies what the node is.

MDN Reference | | nodeValue | string | null | The nodeValue property of the Node interface returns or sets the value of the current node.

MDN Reference | | nonce (optional) | string | MDN Reference | | readonly NOTATION_NODE | 12 | — | | readonly offsetHeight | number | The offsetHeight read-only property of the HTMLElement interface returns the height of an element, including vertical padding and borders, as an integer.

MDN Reference | | readonly offsetLeft | number | The offsetLeft read-only property of the HTMLElement interface returns the number of pixels that the upper left corner of the current element is offset to the left within the HTMLElement.offsetParent node.

MDN Reference | | readonly offsetParent | Element | null | The HTMLElement.offsetParent read-only property returns a reference to the element which is the closest (nearest in the containment hierarchy) positioned ancestor element.

MDN Reference | | readonly offsetTop | number | The offsetTop read-only property of the HTMLElement interface returns the distance from the outer border of the current element (including its margin) to the top padding edge of the HTMLelement.offsetParent, the closest positioned ancestor element.

MDN Reference | | readonly offsetWidth | number | The offsetWidth read-only property of the HTMLElement interface returns the layout width of an element as an integer.

MDN Reference | | onabort | __type(this: GlobalEventHandlers, ev: UIEvent): any | null | MDN Reference | | onanimationcancel | __type(this: GlobalEventHandlers, ev: AnimationEvent): any | null | MDN Reference | | onanimationend | __type(this: GlobalEventHandlers, ev: AnimationEvent): any | null | MDN Reference | | onanimationiteration | __type(this: GlobalEventHandlers, ev: AnimationEvent): any | null | MDN Reference | | onanimationstart | __type(this: GlobalEventHandlers, ev: AnimationEvent): any | null | MDN Reference | | onauxclick | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onbeforeinput | __type(this: GlobalEventHandlers, ev: InputEvent): any | null | MDN Reference | | onbeforematch | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onbeforetoggle | __type(this: GlobalEventHandlers, ev: ToggleEvent): any | null | MDN Reference | | onblur | __type(this: GlobalEventHandlers, ev: FocusEvent): any | null | MDN Reference | | oncancel | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncanplay | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncanplaythrough | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onchange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onclick | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onclose | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncontextlost | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncontextmenu | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | oncontextrestored | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncopy | __type(this: GlobalEventHandlers, ev: ClipboardEvent): any | null | MDN Reference | | oncuechange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncut | __type(this: GlobalEventHandlers, ev: ClipboardEvent): any | null | MDN Reference | | ondblclick | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | ondrag | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragend | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragenter | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragleave | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragover | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragstart | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondrop | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondurationchange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onemptied | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onended | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onerror | OnErrorEventHandler | MDN Reference | | onfocus | __type(this: GlobalEventHandlers, ev: FocusEvent): any | null | MDN Reference | | onformdata | __type(this: GlobalEventHandlers, ev: FormDataEvent): any | null | MDN Reference | | onfullscreenchange | __type(this: Element, ev: Event): any | null | MDN Reference | | onfullscreenerror | __type(this: Element, ev: Event): any | null | MDN Reference | | ongotpointercapture | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | oninput | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oninvalid | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onkeydown | __type(this: GlobalEventHandlers, ev: KeyboardEvent): any | null | MDN Reference | | onkeypress | __type(this: GlobalEventHandlers, ev: KeyboardEvent): any | null | — | | onkeyup | __type(this: GlobalEventHandlers, ev: KeyboardEvent): any | null | MDN Reference | | onload | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onloadeddata | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onloadedmetadata | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onloadstart | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onlostpointercapture | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onmousedown | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseenter | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseleave | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmousemove | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseout | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseover | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseup | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onpaste | __type(this: GlobalEventHandlers, ev: ClipboardEvent): any | null | MDN Reference | | onpause | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onplay | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onplaying | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onpointercancel | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerdown | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerenter | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerleave | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointermove | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerout | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerover | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerrawupdate | __type(this: GlobalEventHandlers, ev: Event): any | null | Available only in secure contexts.

MDN Reference | | onpointerup | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onprogress | __type(this: GlobalEventHandlers, ev: ProgressEvent): any | null | MDN Reference | | onratechange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onreset | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onresize | __type(this: GlobalEventHandlers, ev: UIEvent): any | null | MDN Reference | | onscroll | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onscrollend | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onsecuritypolicyviolation | __type(this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent): any | null | MDN Reference | | onseeked | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onseeking | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onselect | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onselectionchange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onselectstart | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onslotchange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onstalled | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onsubmit | __type(this: GlobalEventHandlers, ev: SubmitEvent): any | null | MDN Reference | | onsuspend | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | ontimeupdate | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | ontoggle | __type(this: GlobalEventHandlers, ev: ToggleEvent): any | null | MDN Reference | | ontouchcancel (optional) | __type(this: GlobalEventHandlers, ev: TouchEvent): any | null | MDN Reference | | ontouchend (optional) | __type(this: GlobalEventHandlers, ev: TouchEvent): any | null | MDN Reference | | ontouchmove (optional) | __type(this: GlobalEventHandlers, ev: TouchEvent): any | null | MDN Reference | | ontouchstart (optional) | __type(this: GlobalEventHandlers, ev: TouchEvent): any | null | MDN Reference | | ontransitioncancel | __type(this: GlobalEventHandlers, ev: TransitionEvent): any | null | MDN Reference | | ontransitionend | __type(this: GlobalEventHandlers, ev: TransitionEvent): any | null | MDN Reference | | ontransitionrun | __type(this: GlobalEventHandlers, ev: TransitionEvent): any | null | MDN Reference | | ontransitionstart | __type(this: GlobalEventHandlers, ev: TransitionEvent): any | null | MDN Reference | | onvolumechange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onwaiting | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onwebkitanimationend | __type(this: GlobalEventHandlers, ev: Event): any | null | — | | onwebkitanimationiteration | __type(this: GlobalEventHandlers, ev: Event): any | null | — | | onwebkitanimationstart | __type(this: GlobalEventHandlers, ev: Event): any | null | — | | onwebkittransitionend | __type(this: GlobalEventHandlers, ev: Event): any | null | — | | onwheel | __type(this: GlobalEventHandlers, ev: WheelEvent): any | null | MDN Reference | | outerHTML | string | The outerHTML attribute of the Element DOM interface gets the serialized HTML fragment describing the element including its descendants.

MDN Reference | | outerText | string | The outerText property of the HTMLElement interface returns the same value as HTMLElement.innerText.

MDN Reference | | readonly ownerDocument | Document | The read-only ownerDocument property of the Node interface returns the top-level document object of the node.

MDN Reference | | readonly parentElement | HTMLElement | null | The read-only parentElement property of Node interface returns the DOM node's parent Element, or null if the node either has no parent, or its parent isn't a DOM Element.

MDN Reference | | readonly parentNode | ParentNode | null | The read-only parentNode property of the Node interface returns the parent of the specified node in the DOM tree.

MDN Reference | | popover | string | null | The popover property of the HTMLElement interface gets and sets an element's popover state via JavaScript ('auto', 'hint', or 'manual'), and can be used for feature detection.

MDN Reference | | readonly prefix | string | null | The Element.prefix read-only property returns the namespace prefix of the specified element, or null if no prefix is specified.

MDN Reference | | readonly previousElementSibling | Element | null | Returns the first preceding sibling that is an element, and null otherwise.

MDN Reference | | readonly previousSibling | ChildNode | null | The read-only previousSibling property of the Node interface returns the node immediately preceding the specified one in its parent's or null if the specified node is the first in that list.

MDN Reference | | readonly PROCESSING_INSTRUCTION_NODE | 7 | node is a ProcessingInstruction node. | | role | string | null | MDN Reference | | readonly scrollHeight | number | The scrollHeight read-only property of the Element interface is a measurement of the height of an element's content, including content not visible on the screen due to overflow.

MDN Reference | | scrollLeft | number | The scrollLeft property of the Element interface gets or sets the number of pixels by which an element's content is scrolled from its left edge.

MDN Reference | | scrollTop | number | The scrollTop property of the Element interface gets or sets the number of pixels by which an element's content is scrolled from its top edge.

MDN Reference | | readonly scrollWidth | number | The scrollWidth read-only property of the Element interface is a measurement of the width of an element's content, including content not visible on the screen due to overflow.

MDN Reference | | readonly shadowRoot | ShadowRoot | null | The Element.shadowRoot read-only property represents the shadow root hosted by the element.

MDN Reference | | slot | string | The slot property of the Element interface returns the name of the shadow DOM slot the element is inserted in.

MDN Reference | | spellcheck | boolean | The spellcheck property of the HTMLElement interface represents a boolean value that controls the spell-checking hint.

MDN Reference | | tabIndex | number | MDN Reference | | readonly tagName | string | The tagName read-only property of the Element interface returns the tag name of the element on which it's called.

MDN Reference | | readonly TEXT_NODE | 3 | node is a Text node. | | title | string | The HTMLElement.title property represents the title of the element: the text usually displayed in a 'tooltip' popup when the mouse is over the node.

MDN Reference | | translate | boolean | The translate property of the HTMLElement interface indicates whether an element's attribute values and the values of its Text node children are to be translated when the page is localized, or whether to leave them unchanged.

MDN Reference | | writingSuggestions | string | The writingSuggestions property of the HTMLElement interface is a string indicating if browser-provided writing suggestions should be enabled under the scope of the element or not.

MDN Reference | | observedAttributes | string[] | — | | classList | void | — | | part | void | — | | style | void | — | | textContent | void | — | | addEventListener | void | — | | after | void | — | | animate | Animation | — | | append | void | — | | appendChild | T | — | | attachInternals | ElementInternals | — | | attachShadow | ShadowRoot | — | | attributeChangedCallback | void | — | | before | void | — | | blur | void | — | | checkVisibility | boolean | — | | click | void | — | | cloneNode | Node | — | | closest | HTMLElementTagNameMap[K] | null | — | | compareDocumentPosition | number | — | | computedStyleMap | StylePropertyMapReadOnly | — | | connectedCallback | void | — | | contains | boolean | — | | disconnectedCallback | void | — | | dispatchEvent | boolean | — | | focus | void | — | | getAnimations | Animation[] | — | | getAttribute | string | null | — | | getAttributeNames | string[] | — | | getAttributeNode | Attr | null | — | | getAttributeNodeNS | Attr | null | — | | getAttributeNS | string | null | — | | getBoundingClientRect | DOMRect | — | | getClientRects | DOMRectList | — | | getElementsByClassName | HTMLCollectionOf<Element> | — | | getElementsByTagName | HTMLCollectionOf<HTMLElementTagNameMap[K]> | — | | getElementsByTagNameNS | HTMLCollectionOf<HTMLElement> | — | | getHTML | string | — | | getRootNode | Node | — | | hasAttribute | boolean | — | | hasAttributeNS | boolean | — | | hasAttributes | boolean | — | | hasChildNodes | boolean | — | | hasPointerCapture | boolean | — | | hidePopover | void | — | | insertAdjacentElement | Element | null | — | | insertAdjacentHTML | void | — | | insertAdjacentText | void | — | | insertBefore | T | — | | isDefaultNamespace | boolean | — | | isEqualNode | boolean | — | | isSameNode | boolean | — | | lookupNamespaceURI | string | null | — | | lookupPrefix | string | null | — | | matches | boolean | — | | normalize | void | — | | prepend | void | — | | querySelector | HTMLElementTagNameMap[K] | null | — | | querySelectorAll | NodeListOf<HTMLElementTagNameMap[K]> | — | | releasePointerCapture | void | — | | remove | void | — | | removeAttribute | void | — | | removeAttributeNode | Attr | — | | removeAttributeNS | void | — | | removeChild | T | — | | removeEventListener | void | — | | replaceChild | T | — | | replaceChildren | void | — | | replaceWith | void | — | | requestFullscreen | Promise<void> | — | | requestPointerLock | Promise<void> | — | | scroll | void | — | | scrollBy | void | — | | scrollIntoView | void | — | | scrollTo | void | — | | setAttribute | void | — | | setAttributeNode | Attr | null | — | | setAttributeNodeNS | Attr | null | — | | setAttributeNS | void | — | | setHTMLUnsafe | void | — | | setPointerCapture | void | — | | showPopover | void | — | | toggleAttribute | boolean | — | | togglePopover | boolean | — | | webkitMatchesSelector | boolean | — | | define | void | — |


class ThemeKitScope

Extends HTMLElement

MemberTypeDescription
constructorThemeKitScope
accessKeystringThe HTMLElement.accessKey property sets the keystroke which a user can press to jump to a given element.

MDN Reference | | readonly accessKeyLabel | string | The HTMLElement.accessKeyLabel read-only property returns a string containing the element's browser-assigned access key (if any); otherwise it returns an empty string.

MDN Reference | | ariaActiveDescendantElement | Element | null | MDN Reference | | ariaAtomic | string | null | MDN Reference | | ariaAutoComplete | string | null | MDN Reference | | ariaBrailleLabel | string | null | MDN Reference | | ariaBrailleRoleDescription | string | null | MDN Reference | | ariaBusy | string | null | MDN Reference | | ariaChecked | string | null | MDN Reference | | ariaColCount | string | null | MDN Reference | | ariaColIndex | string | null | MDN Reference | | ariaColIndexText | string | null | MDN Reference | | ariaColSpan | string | null | MDN Reference | | ariaControlsElements | readonly Element[] | null | MDN Reference | | ariaCurrent | string | null | MDN Reference | | ariaDescribedByElements | readonly Element[] | null | MDN Reference | | ariaDescription | string | null | MDN Reference | | ariaDetailsElements | readonly Element[] | null | MDN Reference | | ariaDisabled | string | null | MDN Reference | | ariaErrorMessageElements | readonly Element[] | null | MDN Reference | | ariaExpanded | string | null | MDN Reference | | ariaFlowToElements | readonly Element[] | null | MDN Reference | | ariaHasPopup | string | null | MDN Reference | | ariaHidden | string | null | MDN Reference | | ariaInvalid | string | null | MDN Reference | | ariaKeyShortcuts | string | null | MDN Reference | | ariaLabel | string | null | MDN Reference | | ariaLabelledByElements | readonly Element[] | null | MDN Reference | | ariaLevel | string | null | MDN Reference | | ariaLive | string | null | MDN Reference | | ariaModal | string | null | MDN Reference | | ariaMultiLine | string | null | MDN Reference | | ariaMultiSelectable | string | null | MDN Reference | | ariaOrientation | string | null | MDN Reference | | ariaOwnsElements | readonly Element[] | null | MDN Reference | | ariaPlaceholder | string | null | MDN Reference | | ariaPosInSet | string | null | MDN Reference | | ariaPressed | string | null | MDN Reference | | ariaReadOnly | string | null | MDN Reference | | ariaRelevant | string | null | MDN Reference | | ariaRequired | string | null | MDN Reference | | ariaRoleDescription | string | null | MDN Reference | | ariaRowCount | string | null | MDN Reference | | ariaRowIndex | string | null | MDN Reference | | ariaRowIndexText | string | null | MDN Reference | | ariaRowSpan | string | null | MDN Reference | | ariaSelected | string | null | MDN Reference | | ariaSetSize | string | null | MDN Reference | | ariaSort | string | null | MDN Reference | | ariaValueMax | string | null | MDN Reference | | ariaValueMin | string | null | MDN Reference | | ariaValueNow | string | null | MDN Reference | | ariaValueText | string | null | MDN Reference | | readonly assignedSlot | HTMLSlotElement | null | MDN Reference | | readonly ATTRIBUTE_NODE | 2 | — | | readonly attributes | NamedNodeMap | The Element.attributes property returns a live collection of all attribute nodes registered to the specified node.

MDN Reference | | readonly attributeStyleMap | StylePropertyMap | MDN Reference | | autocapitalize | string | The autocapitalize property of the HTMLElement interface represents the element's capitalization behavior for user input.

MDN Reference | | autocorrect | boolean | The autocorrect property of the HTMLElement interface controls whether or not autocorrection of editable text is enabled for spelling and/or punctuation errors.

MDN Reference | | autofocus | boolean | MDN Reference | | readonly baseURI | string | The read-only baseURI property of the Node interface returns the absolute base URL of the document containing the node.

MDN Reference | | readonly CDATA_SECTION_NODE | 4 | node is a CDATASection node. | | readonly childElementCount | number | MDN Reference | | readonly childNodes | NodeListOf<ChildNode> | The read-only childNodes property of the Node interface returns a live the first child node is assigned index 0.

MDN Reference | | readonly children | HTMLCollection | Returns the child elements.

MDN Reference | | className | string | The className property of the of the specified element.

MDN Reference | | readonly clientHeight | number | The clientHeight read-only property of the Element interface is zero for elements with no CSS or inline layout boxes; otherwise, it's the inner height of an element in pixels.

MDN Reference | | readonly clientLeft | number | The clientLeft read-only property of the Element interface returns the width of the left border of an element in pixels.

MDN Reference | | readonly clientTop | number | The clientTop read-only property of the Element interface returns the width of the top border of an element in pixels.

MDN Reference | | readonly clientWidth | number | The clientWidth read-only property of the Element interface is zero for inline elements and elements with no CSS; otherwise, it's the inner width of an element in pixels.

MDN Reference | | readonly COMMENT_NODE | 8 | node is a Comment node. | | contentEditable | string | MDN Reference | | readonly currentCSSZoom | number | The currentCSSZoom read-only property of the Element interface provides the 'effective' CSS zoom of an element, taking into account the zoom applied to the element and all its parent elements.

MDN Reference | | readonly dataset | DOMStringMap | MDN Reference | | dir | string | The HTMLElement.dir property indicates the text writing directionality of the content of the current element.

MDN Reference | | readonly DOCUMENT_FRAGMENT_NODE | 11 | node is a DocumentFragment node. | | readonly DOCUMENT_NODE | 9 | node is a document. | | readonly DOCUMENT_POSITION_CONTAINED_BY | 16 | Set when other is a descendant of node. | | readonly DOCUMENT_POSITION_CONTAINS | 8 | Set when other is an ancestor of node. | | readonly DOCUMENT_POSITION_DISCONNECTED | 1 | Set when node and other are not in the same tree. | | readonly DOCUMENT_POSITION_FOLLOWING | 4 | Set when other is following node. | | readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC | 32 | — | | readonly DOCUMENT_POSITION_PRECEDING | 2 | Set when other is preceding node. | | readonly DOCUMENT_TYPE_NODE | 10 | node is a doctype. | | draggable | boolean | The draggable property of the HTMLElement interface gets and sets a Boolean primitive indicating if the element is draggable.

MDN Reference | | readonly ELEMENT_NODE | 1 | node is an element. | | enterKeyHint | string | MDN Reference | | readonly ENTITY_NODE | 6 | — | | readonly ENTITY_REFERENCE_NODE | 5 | — | | readonly firstChild | ChildNode | null | The read-only firstChild property of the Node interface returns the node's first child in the tree, or null if the node has no children.

MDN Reference | | readonly firstElementChild | Element | null | Returns the first child that is an element, and null otherwise.

MDN Reference | | hidden | boolean | The HTMLElement property hidden reflects the value of the element's hidden attribute.

MDN Reference | | id | string | The id property of the Element interface represents the element's identifier, reflecting the id global attribute.

MDN Reference | | inert | boolean | The HTMLElement property inert reflects the value of the element's inert attribute.

MDN Reference | | innerHTML | string | The innerHTML property of the Element interface gets or sets the HTML or XML markup contained within the element.

MDN Reference | | innerText | string | The innerText property of the HTMLElement interface represents the rendered text content of a node and its descendants.

MDN Reference | | inputMode | string | MDN Reference | | readonly isConnected | boolean | The read-only isConnected property of the Node interface returns a boolean indicating whether the node is connected (directly or indirectly) to a Document object.

MDN Reference | | readonly isContentEditable | boolean | MDN Reference | | lang | string | The lang property of the HTMLElement interface indicates the base language of an element's attribute values and text content, in the form of a MISSING: RFC(5646, 'BCP 47 language identifier tag')].

MDN Reference | | readonly lastChild | ChildNode | null | The read-only lastChild property of the Node interface returns the last child of the node, or null if there are no child nodes.

MDN Reference | | readonly lastElementChild | Element | null | Returns the last child that is an element, and null otherwise.

MDN Reference | | readonly localName | string | The Element.localName read-only property returns the local part of the qualified name of an element.

MDN Reference | | readonly namespaceURI | string | null | The Element.namespaceURI read-only property returns the namespace URI of the element, or null if the element is not in a namespace.

MDN Reference | | readonly nextElementSibling | Element | null | Returns the first following sibling that is an element, and null otherwise.

MDN Reference | | readonly nextSibling | ChildNode | null | The read-only nextSibling property of the Node interface returns the node immediately following the specified one in their parent's Node.childNodes, or returns null if the specified node is the last child in the parent element.

MDN Reference | | readonly nodeName | string | The read-only nodeName property of Node returns the name of the current node as a string.

MDN Reference | | readonly nodeType | number | The read-only nodeType property of a Node interface is an integer that identifies what the node is.

MDN Reference | | nodeValue | string | null | The nodeValue property of the Node interface returns or sets the value of the current node.

MDN Reference | | nonce (optional) | string | MDN Reference | | readonly NOTATION_NODE | 12 | — | | readonly offsetHeight | number | The offsetHeight read-only property of the HTMLElement interface returns the height of an element, including vertical padding and borders, as an integer.

MDN Reference | | readonly offsetLeft | number | The offsetLeft read-only property of the HTMLElement interface returns the number of pixels that the upper left corner of the current element is offset to the left within the HTMLElement.offsetParent node.

MDN Reference | | readonly offsetParent | Element | null | The HTMLElement.offsetParent read-only property returns a reference to the element which is the closest (nearest in the containment hierarchy) positioned ancestor element.

MDN Reference | | readonly offsetTop | number | The offsetTop read-only property of the HTMLElement interface returns the distance from the outer border of the current element (including its margin) to the top padding edge of the HTMLelement.offsetParent, the closest positioned ancestor element.

MDN Reference | | readonly offsetWidth | number | The offsetWidth read-only property of the HTMLElement interface returns the layout width of an element as an integer.

MDN Reference | | onabort | __type(this: GlobalEventHandlers, ev: UIEvent): any | null | MDN Reference | | onanimationcancel | __type(this: GlobalEventHandlers, ev: AnimationEvent): any | null | MDN Reference | | onanimationend | __type(this: GlobalEventHandlers, ev: AnimationEvent): any | null | MDN Reference | | onanimationiteration | __type(this: GlobalEventHandlers, ev: AnimationEvent): any | null | MDN Reference | | onanimationstart | __type(this: GlobalEventHandlers, ev: AnimationEvent): any | null | MDN Reference | | onauxclick | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onbeforeinput | __type(this: GlobalEventHandlers, ev: InputEvent): any | null | MDN Reference | | onbeforematch | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onbeforetoggle | __type(this: GlobalEventHandlers, ev: ToggleEvent): any | null | MDN Reference | | onblur | __type(this: GlobalEventHandlers, ev: FocusEvent): any | null | MDN Reference | | oncancel | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncanplay | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncanplaythrough | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onchange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onclick | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onclose | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncontextlost | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncontextmenu | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | oncontextrestored | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncopy | __type(this: GlobalEventHandlers, ev: ClipboardEvent): any | null | MDN Reference | | oncuechange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncut | __type(this: GlobalEventHandlers, ev: ClipboardEvent): any | null | MDN Reference | | ondblclick | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | ondrag | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragend | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragenter | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragleave | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragover | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragstart | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondrop | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondurationchange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onemptied | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onended | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onerror | OnErrorEventHandler | MDN Reference | | onfocus | __type(this: GlobalEventHandlers, ev: FocusEvent): any | null | MDN Reference | | onformdata | __type(this: GlobalEventHandlers, ev: FormDataEvent): any | null | MDN Reference | | onfullscreenchange | __type(this: Element, ev: Event): any | null | MDN Reference | | onfullscreenerror | __type(this: Element, ev: Event): any | null | MDN Reference | | ongotpointercapture | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | oninput | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oninvalid | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onkeydown | __type(this: GlobalEventHandlers, ev: KeyboardEvent): any | null | MDN Reference | | onkeypress | __type(this: GlobalEventHandlers, ev: KeyboardEvent): any | null | — | | onkeyup | __type(this: GlobalEventHandlers, ev: KeyboardEvent): any | null | MDN Reference | | onload | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onloadeddata | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onloadedmetadata | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onloadstart | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onlostpointercapture | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onmousedown | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseenter | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseleave | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmousemove | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseout | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseover | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseup | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onpaste | __type(this: GlobalEventHandlers, ev: ClipboardEvent): any | null | MDN Reference | | onpause | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onplay | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onplaying | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onpointercancel | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerdown | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerenter | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerleave | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointermove | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerout | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerover | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerrawupdate | __type(this: GlobalEventHandlers, ev: Event): any | null | Available only in secure contexts.

MDN Reference | | onpointerup | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onprogress | __type(this: GlobalEventHandlers, ev: ProgressEvent): any | null | MDN Reference | | onratechange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onreset | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onresize | __type(this: GlobalEventHandlers, ev: UIEvent): any | null | MDN Reference | | onscroll | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onscrollend | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onsecuritypolicyviolation | __type(this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent): any | null | MDN Reference | | onseeked | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onseeking | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onselect | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onselectionchange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onselectstart | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onslotchange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onstalled | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onsubmit | __type(this: GlobalEventHandlers, ev: SubmitEvent): any | null | MDN Reference | | onsuspend | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | ontimeupdate | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | ontoggle | __type(this: GlobalEventHandlers, ev: ToggleEvent): any | null | MDN Reference | | ontouchcancel (optional) | __type(this: GlobalEventHandlers, ev: TouchEvent): any | null | MDN Reference | | ontouchend (optional) | __type(this: GlobalEventHandlers, ev: TouchEvent): any | null | MDN Reference | | ontouchmove (optional) | __type(this: GlobalEventHandlers, ev: TouchEvent): any | null | MDN Reference | | ontouchstart (optional) | __type(this: GlobalEventHandlers, ev: TouchEvent): any | null | MDN Reference | | ontransitioncancel | __type(this: GlobalEventHandlers, ev: TransitionEvent): any | null | MDN Reference | | ontransitionend | __type(this: GlobalEventHandlers, ev: TransitionEvent): any | null | MDN Reference | | ontransitionrun | __type(this: GlobalEventHandlers, ev: TransitionEvent): any | null | MDN Reference | | ontransitionstart | __type(this: GlobalEventHandlers, ev: TransitionEvent): any | null | MDN Reference | | onvolumechange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onwaiting | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onwebkitanimationend | __type(this: GlobalEventHandlers, ev: Event): any | null | — | | onwebkitanimationiteration | __type(this: GlobalEventHandlers, ev: Event): any | null | — | | onwebkitanimationstart | __type(this: GlobalEventHandlers, ev: Event): any | null | — | | onwebkittransitionend | __type(this: GlobalEventHandlers, ev: Event): any | null | — | | onwheel | __type(this: GlobalEventHandlers, ev: WheelEvent): any | null | MDN Reference | | outerHTML | string | The outerHTML attribute of the Element DOM interface gets the serialized HTML fragment describing the element including its descendants.

MDN Reference | | outerText | string | The outerText property of the HTMLElement interface returns the same value as HTMLElement.innerText.

MDN Reference | | readonly ownerDocument | Document | The read-only ownerDocument property of the Node interface returns the top-level document object of the node.

MDN Reference | | readonly parentElement | HTMLElement | null | The read-only parentElement property of Node interface returns the DOM node's parent Element, or null if the node either has no parent, or its parent isn't a DOM Element.

MDN Reference | | readonly parentNode | ParentNode | null | The read-only parentNode property of the Node interface returns the parent of the specified node in the DOM tree.

MDN Reference | | popover | string | null | The popover property of the HTMLElement interface gets and sets an element's popover state via JavaScript ('auto', 'hint', or 'manual'), and can be used for feature detection.

MDN Reference | | readonly prefix | string | null | The Element.prefix read-only property returns the namespace prefix of the specified element, or null if no prefix is specified.

MDN Reference | | readonly previousElementSibling | Element | null | Returns the first preceding sibling that is an element, and null otherwise.

MDN Reference | | readonly previousSibling | ChildNode | null | The read-only previousSibling property of the Node interface returns the node immediately preceding the specified one in its parent's or null if the specified node is the first in that list.

MDN Reference | | readonly PROCESSING_INSTRUCTION_NODE | 7 | node is a ProcessingInstruction node. | | role | string | null | MDN Reference | | readonly scrollHeight | number | The scrollHeight read-only property of the Element interface is a measurement of the height of an element's content, including content not visible on the screen due to overflow.

MDN Reference | | scrollLeft | number | The scrollLeft property of the Element interface gets or sets the number of pixels by which an element's content is scrolled from its left edge.

MDN Reference | | scrollTop | number | The scrollTop property of the Element interface gets or sets the number of pixels by which an element's content is scrolled from its top edge.

MDN Reference | | readonly scrollWidth | number | The scrollWidth read-only property of the Element interface is a measurement of the width of an element's content, including content not visible on the screen due to overflow.

MDN Reference | | readonly shadowRoot | ShadowRoot | null | The Element.shadowRoot read-only property represents the shadow root hosted by the element.

MDN Reference | | slot | string | The slot property of the Element interface returns the name of the shadow DOM slot the element is inserted in.

MDN Reference | | spellcheck | boolean | The spellcheck property of the HTMLElement interface represents a boolean value that controls the spell-checking hint.

MDN Reference | | tabIndex | number | MDN Reference | | readonly tagName | string | The tagName read-only property of the Element interface returns the tag name of the element on which it's called.

MDN Reference | | readonly TEXT_NODE | 3 | node is a Text node. | | title | string | The HTMLElement.title property represents the title of the element: the text usually displayed in a 'tooltip' popup when the mouse is over the node.

MDN Reference | | translate | boolean | The translate property of the HTMLElement interface indicates whether an element's attribute values and the values of its Text node children are to be translated when the page is localized, or whether to leave them unchanged.

MDN Reference | | writingSuggestions | string | The writingSuggestions property of the HTMLElement interface is a string indicating if browser-provided writing suggestions should be enabled under the scope of the element or not.

MDN Reference | | observedAttributes | string[] | — | | classList | void | — | | part | void | — | | style | void | — | | textContent | void | — | | addEventListener | void | — | | after | void | — | | animate | Animation | — | | append | void | — | | appendChild | T | — | | attachInternals | ElementInternals | — | | attachShadow | ShadowRoot | — | | attributeChangedCallback | void | — | | before | void | — | | blur | void | — | | checkVisibility | boolean | — | | click | void | — | | cloneNode | Node | — | | closest | HTMLElementTagNameMap[K] | null | — | | compareDocumentPosition | number | — | | computedStyleMap | StylePropertyMapReadOnly | — | | connectedCallback | void | — | | contains | boolean | — | | disconnectedCallback | void | — | | dispatchEvent | boolean | — | | focus | void | — | | getAnimations | Animation[] | — | | getAttribute | string | null | — | | getAttributeNames | string[] | — | | getAttributeNode | Attr | null | — | | getAttributeNodeNS | Attr | null | — | | getAttributeNS | string | null | — | | getBoundingClientRect | DOMRect | — | | getClientRects | DOMRectList | — | | getElementsByClassName | HTMLCollectionOf<Element> | — | | getElementsByTagName | HTMLCollectionOf<HTMLElementTagNameMap[K]> | — | | getElementsByTagNameNS | HTMLCollectionOf<HTMLElement> | — | | getHTML | string | — | | getRootNode | Node | — | | hasAttribute | boolean | — | | hasAttributeNS | boolean | — | | hasAttributes | boolean | — | | hasChildNodes | boolean | — | | hasPointerCapture | boolean | — | | hidePopover | void | — | | insertAdjacentElement | Element | null | — | | insertAdjacentHTML | void | — | | insertAdjacentText | void | — | | insertBefore | T | — | | isDefaultNamespace | boolean | — | | isEqualNode | boolean | — | | isSameNode | boolean | — | | lookupNamespaceURI | string | null | — | | lookupPrefix | string | null | — | | matches | boolean | — | | normalize | void | — | | prepend | void | — | | querySelector | HTMLElementTagNameMap[K] | null | — | | querySelectorAll | NodeListOf<HTMLElementTagNameMap[K]> | — | | releasePointerCapture | void | — | | remove | void | — | | removeAttribute | void | — | | removeAttributeNode | Attr | — | | removeAttributeNS | void | — | | removeChild | T | — | | removeEventListener | void | — | | replaceChild | T | — | | replaceChildren | void | — | | replaceWith | void | — | | requestFullscreen | Promise<void> | — | | requestPointerLock | Promise<void> | — | | scroll | void | — | | scrollBy | void | — | | scrollIntoView | void | — | | scrollTo | void | — | | setAttribute | void | — | | setAttributeNode | Attr | null | — | | setAttributeNodeNS | Attr | null | — | | setAttributeNS | void | — | | setHTMLUnsafe | void | — | | setPointerCapture | void | — | | showPopover | void | — | | toggleAttribute | boolean | — | | togglePopover | boolean | — | | webkitMatchesSelector | boolean | — | | define | void | — |


class ThemeKitScrollbar

Extends HTMLElement Phase 2 — ThemeKitScrollbar (Web Component): overlay only.

Creates the custom scrollbar overlay. Does NOT hide the native scrollbar — that's the bootstrap script's job (Phase 1, tk-scrollbar).

MemberTypeDescription
constructorThemeKitScrollbar
accessKeystringThe HTMLElement.accessKey property sets the keystroke which a user can press to jump to a given element.

MDN Reference | | readonly accessKeyLabel | string | The HTMLElement.accessKeyLabel read-only property returns a string containing the element's browser-assigned access key (if any); otherwise it returns an empty string.

MDN Reference | | ariaActiveDescendantElement | Element | null | MDN Reference | | ariaAtomic | string | null | MDN Reference | | ariaAutoComplete | string | null | MDN Reference | | ariaBrailleLabel | string | null | MDN Reference | | ariaBrailleRoleDescription | string | null | MDN Reference | | ariaBusy | string | null | MDN Reference | | ariaChecked | string | null | MDN Reference | | ariaColCount | string | null | MDN Reference | | ariaColIndex | string | null | MDN Reference | | ariaColIndexText | string | null | MDN Reference | | ariaColSpan | string | null | MDN Reference | | ariaControlsElements | readonly Element[] | null | MDN Reference | | ariaCurrent | string | null | MDN Reference | | ariaDescribedByElements | readonly Element[] | null | MDN Reference | | ariaDescription | string | null | MDN Reference | | ariaDetailsElements | readonly Element[] | null | MDN Reference | | ariaDisabled | string | null | MDN Reference | | ariaErrorMessageElements | readonly Element[] | null | MDN Reference | | ariaExpanded | string | null | MDN Reference | | ariaFlowToElements | readonly Element[] | null | MDN Reference | | ariaHasPopup | string | null | MDN Reference | | ariaHidden | string | null | MDN Reference | | ariaInvalid | string | null | MDN Reference | | ariaKeyShortcuts | string | null | MDN Reference | | ariaLabel | string | null | MDN Reference | | ariaLabelledByElements | readonly Element[] | null | MDN Reference | | ariaLevel | string | null | MDN Reference | | ariaLive | string | null | MDN Reference | | ariaModal | string | null | MDN Reference | | ariaMultiLine | string | null | MDN Reference | | ariaMultiSelectable | string | null | MDN Reference | | ariaOrientation | string | null | MDN Reference | | ariaOwnsElements | readonly Element[] | null | MDN Reference | | ariaPlaceholder | string | null | MDN Reference | | ariaPosInSet | string | null | MDN Reference | | ariaPressed | string | null | MDN Reference | | ariaReadOnly | string | null | MDN Reference | | ariaRelevant | string | null | MDN Reference | | ariaRequired | string | null | MDN Reference | | ariaRoleDescription | string | null | MDN Reference | | ariaRowCount | string | null | MDN Reference | | ariaRowIndex | string | null | MDN Reference | | ariaRowIndexText | string | null | MDN Reference | | ariaRowSpan | string | null | MDN Reference | | ariaSelected | string | null | MDN Reference | | ariaSetSize | string | null | MDN Reference | | ariaSort | string | null | MDN Reference | | ariaValueMax | string | null | MDN Reference | | ariaValueMin | string | null | MDN Reference | | ariaValueNow | string | null | MDN Reference | | ariaValueText | string | null | MDN Reference | | readonly assignedSlot | HTMLSlotElement | null | MDN Reference | | readonly ATTRIBUTE_NODE | 2 | — | | readonly attributes | NamedNodeMap | The Element.attributes property returns a live collection of all attribute nodes registered to the specified node.

MDN Reference | | readonly attributeStyleMap | StylePropertyMap | MDN Reference | | autocapitalize | string | The autocapitalize property of the HTMLElement interface represents the element's capitalization behavior for user input.

MDN Reference | | autocorrect | boolean | The autocorrect property of the HTMLElement interface controls whether or not autocorrection of editable text is enabled for spelling and/or punctuation errors.

MDN Reference | | autofocus | boolean | MDN Reference | | readonly baseURI | string | The read-only baseURI property of the Node interface returns the absolute base URL of the document containing the node.

MDN Reference | | readonly CDATA_SECTION_NODE | 4 | node is a CDATASection node. | | readonly childElementCount | number | MDN Reference | | readonly childNodes | NodeListOf<ChildNode> | The read-only childNodes property of the Node interface returns a live the first child node is assigned index 0.

MDN Reference | | readonly children | HTMLCollection | Returns the child elements.

MDN Reference | | className | string | The className property of the of the specified element.

MDN Reference | | readonly clientHeight | number | The clientHeight read-only property of the Element interface is zero for elements with no CSS or inline layout boxes; otherwise, it's the inner height of an element in pixels.

MDN Reference | | readonly clientLeft | number | The clientLeft read-only property of the Element interface returns the width of the left border of an element in pixels.

MDN Reference | | readonly clientTop | number | The clientTop read-only property of the Element interface returns the width of the top border of an element in pixels.

MDN Reference | | readonly clientWidth | number | The clientWidth read-only property of the Element interface is zero for inline elements and elements with no CSS; otherwise, it's the inner width of an element in pixels.

MDN Reference | | readonly COMMENT_NODE | 8 | node is a Comment node. | | contentEditable | string | MDN Reference | | readonly currentCSSZoom | number | The currentCSSZoom read-only property of the Element interface provides the 'effective' CSS zoom of an element, taking into account the zoom applied to the element and all its parent elements.

MDN Reference | | readonly dataset | DOMStringMap | MDN Reference | | dir | string | The HTMLElement.dir property indicates the text writing directionality of the content of the current element.

MDN Reference | | readonly DOCUMENT_FRAGMENT_NODE | 11 | node is a DocumentFragment node. | | readonly DOCUMENT_NODE | 9 | node is a document. | | readonly DOCUMENT_POSITION_CONTAINED_BY | 16 | Set when other is a descendant of node. | | readonly DOCUMENT_POSITION_CONTAINS | 8 | Set when other is an ancestor of node. | | readonly DOCUMENT_POSITION_DISCONNECTED | 1 | Set when node and other are not in the same tree. | | readonly DOCUMENT_POSITION_FOLLOWING | 4 | Set when other is following node. | | readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC | 32 | — | | readonly DOCUMENT_POSITION_PRECEDING | 2 | Set when other is preceding node. | | readonly DOCUMENT_TYPE_NODE | 10 | node is a doctype. | | draggable | boolean | The draggable property of the HTMLElement interface gets and sets a Boolean primitive indicating if the element is draggable.

MDN Reference | | readonly ELEMENT_NODE | 1 | node is an element. | | enterKeyHint | string | MDN Reference | | readonly ENTITY_NODE | 6 | — | | readonly ENTITY_REFERENCE_NODE | 5 | — | | readonly firstChild | ChildNode | null | The read-only firstChild property of the Node interface returns the node's first child in the tree, or null if the node has no children.

MDN Reference | | readonly firstElementChild | Element | null | Returns the first child that is an element, and null otherwise.

MDN Reference | | hidden | boolean | The HTMLElement property hidden reflects the value of the element's hidden attribute.

MDN Reference | | id | string | The id property of the Element interface represents the element's identifier, reflecting the id global attribute.

MDN Reference | | inert | boolean | The HTMLElement property inert reflects the value of the element's inert attribute.

MDN Reference | | innerHTML | string | The innerHTML property of the Element interface gets or sets the HTML or XML markup contained within the element.

MDN Reference | | innerText | string | The innerText property of the HTMLElement interface represents the rendered text content of a node and its descendants.

MDN Reference | | inputMode | string | MDN Reference | | readonly isConnected | boolean | The read-only isConnected property of the Node interface returns a boolean indicating whether the node is connected (directly or indirectly) to a Document object.

MDN Reference | | readonly isContentEditable | boolean | MDN Reference | | lang | string | The lang property of the HTMLElement interface indicates the base language of an element's attribute values and text content, in the form of a MISSING: RFC(5646, 'BCP 47 language identifier tag')].

MDN Reference | | readonly lastChild | ChildNode | null | The read-only lastChild property of the Node interface returns the last child of the node, or null if there are no child nodes.

MDN Reference | | readonly lastElementChild | Element | null | Returns the last child that is an element, and null otherwise.

MDN Reference | | readonly localName | string | The Element.localName read-only property returns the local part of the qualified name of an element.

MDN Reference | | readonly namespaceURI | string | null | The Element.namespaceURI read-only property returns the namespace URI of the element, or null if the element is not in a namespace.

MDN Reference | | readonly nextElementSibling | Element | null | Returns the first following sibling that is an element, and null otherwise.

MDN Reference | | readonly nextSibling | ChildNode | null | The read-only nextSibling property of the Node interface returns the node immediately following the specified one in their parent's Node.childNodes, or returns null if the specified node is the last child in the parent element.

MDN Reference | | readonly nodeName | string | The read-only nodeName property of Node returns the name of the current node as a string.

MDN Reference | | readonly nodeType | number | The read-only nodeType property of a Node interface is an integer that identifies what the node is.

MDN Reference | | nodeValue | string | null | The nodeValue property of the Node interface returns or sets the value of the current node.

MDN Reference | | nonce (optional) | string | MDN Reference | | readonly NOTATION_NODE | 12 | — | | readonly offsetHeight | number | The offsetHeight read-only property of the HTMLElement interface returns the height of an element, including vertical padding and borders, as an integer.

MDN Reference | | readonly offsetLeft | number | The offsetLeft read-only property of the HTMLElement interface returns the number of pixels that the upper left corner of the current element is offset to the left within the HTMLElement.offsetParent node.

MDN Reference | | readonly offsetParent | Element | null | The HTMLElement.offsetParent read-only property returns a reference to the element which is the closest (nearest in the containment hierarchy) positioned ancestor element.

MDN Reference | | readonly offsetTop | number | The offsetTop read-only property of the HTMLElement interface returns the distance from the outer border of the current element (including its margin) to the top padding edge of the HTMLelement.offsetParent, the closest positioned ancestor element.

MDN Reference | | readonly offsetWidth | number | The offsetWidth read-only property of the HTMLElement interface returns the layout width of an element as an integer.

MDN Reference | | onabort | __type(this: GlobalEventHandlers, ev: UIEvent): any | null | MDN Reference | | onanimationcancel | __type(this: GlobalEventHandlers, ev: AnimationEvent): any | null | MDN Reference | | onanimationend | __type(this: GlobalEventHandlers, ev: AnimationEvent): any | null | MDN Reference | | onanimationiteration | __type(this: GlobalEventHandlers, ev: AnimationEvent): any | null | MDN Reference | | onanimationstart | __type(this: GlobalEventHandlers, ev: AnimationEvent): any | null | MDN Reference | | onauxclick | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onbeforeinput | __type(this: GlobalEventHandlers, ev: InputEvent): any | null | MDN Reference | | onbeforematch | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onbeforetoggle | __type(this: GlobalEventHandlers, ev: ToggleEvent): any | null | MDN Reference | | onblur | __type(this: GlobalEventHandlers, ev: FocusEvent): any | null | MDN Reference | | oncancel | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncanplay | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncanplaythrough | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onchange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onclick | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onclose | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncontextlost | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncontextmenu | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | oncontextrestored | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncopy | __type(this: GlobalEventHandlers, ev: ClipboardEvent): any | null | MDN Reference | | oncuechange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncut | __type(this: GlobalEventHandlers, ev: ClipboardEvent): any | null | MDN Reference | | ondblclick | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | ondrag | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragend | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragenter | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragleave | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragover | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragstart | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondrop | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondurationchange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onemptied | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onended | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onerror | OnErrorEventHandler | MDN Reference | | onfocus | __type(this: GlobalEventHandlers, ev: FocusEvent): any | null | MDN Reference | | onformdata | __type(this: GlobalEventHandlers, ev: FormDataEvent): any | null | MDN Reference | | onfullscreenchange | __type(this: Element, ev: Event): any | null | MDN Reference | | onfullscreenerror | __type(this: Element, ev: Event): any | null | MDN Reference | | ongotpointercapture | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | oninput | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oninvalid | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onkeydown | __type(this: GlobalEventHandlers, ev: KeyboardEvent): any | null | MDN Reference | | onkeypress | __type(this: GlobalEventHandlers, ev: KeyboardEvent): any | null | — | | onkeyup | __type(this: GlobalEventHandlers, ev: KeyboardEvent): any | null | MDN Reference | | onload | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onloadeddata | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onloadedmetadata | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onloadstart | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onlostpointercapture | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onmousedown | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseenter | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseleave | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmousemove | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseout | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseover | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseup | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onpaste | __type(this: GlobalEventHandlers, ev: ClipboardEvent): any | null | MDN Reference | | onpause | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onplay | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onplaying | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onpointercancel | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerdown | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerenter | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerleave | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointermove | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerout | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerover | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerrawupdate | __type(this: GlobalEventHandlers, ev: Event): any | null | Available only in secure contexts.

MDN Reference | | onpointerup | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onprogress | __type(this: GlobalEventHandlers, ev: ProgressEvent): any | null | MDN Reference | | onratechange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onreset | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onresize | __type(this: GlobalEventHandlers, ev: UIEvent): any | null | MDN Reference | | onscroll | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onscrollend | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onsecuritypolicyviolation | __type(this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent): any | null | MDN Reference | | onseeked | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onseeking | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onselect | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onselectionchange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onselectstart | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onslotchange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onstalled | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onsubmit | __type(this: GlobalEventHandlers, ev: SubmitEvent): any | null | MDN Reference | | onsuspend | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | ontimeupdate | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | ontoggle | __type(this: GlobalEventHandlers, ev: ToggleEvent): any | null | MDN Reference | | ontouchcancel (optional) | __type(this: GlobalEventHandlers, ev: TouchEvent): any | null | MDN Reference | | ontouchend (optional) | __type(this: GlobalEventHandlers, ev: TouchEvent): any | null | MDN Reference | | ontouchmove (optional) | __type(this: GlobalEventHandlers, ev: TouchEvent): any | null | MDN Reference | | ontouchstart (optional) | __type(this: GlobalEventHandlers, ev: TouchEvent): any | null | MDN Reference | | ontransitioncancel | __type(this: GlobalEventHandlers, ev: TransitionEvent): any | null | MDN Reference | | ontransitionend | __type(this: GlobalEventHandlers, ev: TransitionEvent): any | null | MDN Reference | | ontransitionrun | __type(this: GlobalEventHandlers, ev: TransitionEvent): any | null | MDN Reference | | ontransitionstart | __type(this: GlobalEventHandlers, ev: TransitionEvent): any | null | MDN Reference | | onvolumechange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onwaiting | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onwebkitanimationend | __type(this: GlobalEventHandlers, ev: Event): any | null | — | | onwebkitanimationiteration | __type(this: GlobalEventHandlers, ev: Event): any | null | — | | onwebkitanimationstart | __type(this: GlobalEventHandlers, ev: Event): any | null | — | | onwebkittransitionend | __type(this: GlobalEventHandlers, ev: Event): any | null | — | | onwheel | __type(this: GlobalEventHandlers, ev: WheelEvent): any | null | MDN Reference | | outerHTML | string | The outerHTML attribute of the Element DOM interface gets the serialized HTML fragment describing the element including its descendants.

MDN Reference | | outerText | string | The outerText property of the HTMLElement interface returns the same value as HTMLElement.innerText.

MDN Reference | | readonly ownerDocument | Document | The read-only ownerDocument property of the Node interface returns the top-level document object of the node.

MDN Reference | | readonly parentElement | HTMLElement | null | The read-only parentElement property of Node interface returns the DOM node's parent Element, or null if the node either has no parent, or its parent isn't a DOM Element.

MDN Reference | | readonly parentNode | ParentNode | null | The read-only parentNode property of the Node interface returns the parent of the specified node in the DOM tree.

MDN Reference | | popover | string | null | The popover property of the HTMLElement interface gets and sets an element's popover state via JavaScript ('auto', 'hint', or 'manual'), and can be used for feature detection.

MDN Reference | | readonly prefix | string | null | The Element.prefix read-only property returns the namespace prefix of the specified element, or null if no prefix is specified.

MDN Reference | | readonly previousElementSibling | Element | null | Returns the first preceding sibling that is an element, and null otherwise.

MDN Reference | | readonly previousSibling | ChildNode | null | The read-only previousSibling property of the Node interface returns the node immediately preceding the specified one in its parent's or null if the specified node is the first in that list.

MDN Reference | | readonly PROCESSING_INSTRUCTION_NODE | 7 | node is a ProcessingInstruction node. | | role | string | null | MDN Reference | | readonly scrollHeight | number | The scrollHeight read-only property of the Element interface is a measurement of the height of an element's content, including content not visible on the screen due to overflow.

MDN Reference | | scrollLeft | number | The scrollLeft property of the Element interface gets or sets the number of pixels by which an element's content is scrolled from its left edge.

MDN Reference | | scrollTop | number | The scrollTop property of the Element interface gets or sets the number of pixels by which an element's content is scrolled from its top edge.

MDN Reference | | readonly scrollWidth | number | The scrollWidth read-only property of the Element interface is a measurement of the width of an element's content, including content not visible on the screen due to overflow.

MDN Reference | | readonly shadowRoot | ShadowRoot | null | The Element.shadowRoot read-only property represents the shadow root hosted by the element.

MDN Reference | | slot | string | The slot property of the Element interface returns the name of the shadow DOM slot the element is inserted in.

MDN Reference | | spellcheck | boolean | The spellcheck property of the HTMLElement interface represents a boolean value that controls the spell-checking hint.

MDN Reference | | tabIndex | number | MDN Reference | | readonly tagName | string | The tagName read-only property of the Element interface returns the tag name of the element on which it's called.

MDN Reference | | readonly TEXT_NODE | 3 | node is a Text node. | | title | string | The HTMLElement.title property represents the title of the element: the text usually displayed in a 'tooltip' popup when the mouse is over the node.

MDN Reference | | translate | boolean | The translate property of the HTMLElement interface indicates whether an element's attribute values and the values of its Text node children are to be translated when the page is localized, or whether to leave them unchanged.

MDN Reference | | writingSuggestions | string | The writingSuggestions property of the HTMLElement interface is a string indicating if browser-provided writing suggestions should be enabled under the scope of the element or not.

MDN Reference | | classList | void | — | | part | void | — | | style | void | — | | textContent | void | — | | addEventListener | void | — | | after | void | — | | animate | Animation | — | | append | void | — | | appendChild | T | — | | attachInternals | ElementInternals | — | | attachShadow | ShadowRoot | — | | before | void | — | | blur | void | — | | checkVisibility | boolean | — | | click | void | — | | cloneNode | Node | — | | closest | HTMLElementTagNameMap[K] | null | — | | compareDocumentPosition | number | — | | computedStyleMap | StylePropertyMapReadOnly | — | | connectedCallback | void | — | | contains | boolean | — | | disconnectedCallback | void | — | | dispatchEvent | boolean | — | | focus | void | — | | getAnimations | Animation[] | — | | getAttribute | string | null | — | | getAttributeNames | string[] | — | | getAttributeNode | Attr | null | — | | getAttributeNodeNS | Attr | null | — | | getAttributeNS | string | null | — | | getBoundingClientRect | DOMRect | — | | getClientRects | DOMRectList | — | | getElementsByClassName | HTMLCollectionOf<Element> | — | | getElementsByTagName | HTMLCollectionOf<HTMLElementTagNameMap[K]> | — | | getElementsByTagNameNS | HTMLCollectionOf<HTMLElement> | — | | getHTML | string | — | | getRootNode | Node | — | | hasAttribute | boolean | — | | hasAttributeNS | boolean | — | | hasAttributes | boolean | — | | hasChildNodes | boolean | — | | hasPointerCapture | boolean | — | | hidePopover | void | — | | insertAdjacentElement | Element | null | — | | insertAdjacentHTML | void | — | | insertAdjacentText | void | — | | insertBefore | T | — | | isDefaultNamespace | boolean | — | | isEqualNode | boolean | — | | isSameNode | boolean | — | | lookupNamespaceURI | string | null | — | | lookupPrefix | string | null | — | | matches | boolean | — | | normalize | void | — | | prepend | void | — | | querySelector | HTMLElementTagNameMap[K] | null | — | | querySelectorAll | NodeListOf<HTMLElementTagNameMap[K]> | — | | releasePointerCapture | void | — | | remove | void | — | | removeAttribute | void | — | | removeAttributeNode | Attr | — | | removeAttributeNS | void | — | | removeChild | T | — | | removeEventListener | void | — | | replaceChild | T | — | | replaceChildren | void | — | | replaceWith | void | — | | requestFullscreen | Promise<void> | — | | requestPointerLock | Promise<void> | — | | scroll | void | — | | scrollBy | void | — | | scrollIntoView | void | — | | scrollTo | void | — | | setAttribute | void | — | | setAttributeNode | Attr | null | — | | setAttributeNodeNS | Attr | null | — | | setAttributeNS | void | — | | setHTMLUnsafe | void | — | | setPointerCapture | void | — | | showPopover | void | — | | toggleAttribute | boolean | — | | togglePopover | boolean | — | | webkitMatchesSelector | boolean | — | | define | void | — |


class ThemeKitSelect

Extends HTMLElement

MemberTypeDescription
constructorThemeKitSelect
accessKeystringThe HTMLElement.accessKey property sets the keystroke which a user can press to jump to a given element.

MDN Reference | | readonly accessKeyLabel | string | The HTMLElement.accessKeyLabel read-only property returns a string containing the element's browser-assigned access key (if any); otherwise it returns an empty string.

MDN Reference | | ariaActiveDescendantElement | Element | null | MDN Reference | | ariaAtomic | string | null | MDN Reference | | ariaAutoComplete | string | null | MDN Reference | | ariaBrailleLabel | string | null | MDN Reference | | ariaBrailleRoleDescription | string | null | MDN Reference | | ariaBusy | string | null | MDN Reference | | ariaChecked | string | null | MDN Reference | | ariaColCount | string | null | MDN Reference | | ariaColIndex | string | null | MDN Reference | | ariaColIndexText | string | null | MDN Reference | | ariaColSpan | string | null | MDN Reference | | ariaControlsElements | readonly Element[] | null | MDN Reference | | ariaCurrent | string | null | MDN Reference | | ariaDescribedByElements | readonly Element[] | null | MDN Reference | | ariaDescription | string | null | MDN Reference | | ariaDetailsElements | readonly Element[] | null | MDN Reference | | ariaDisabled | string | null | MDN Reference | | ariaErrorMessageElements | readonly Element[] | null | MDN Reference | | ariaExpanded | string | null | MDN Reference | | ariaFlowToElements | readonly Element[] | null | MDN Reference | | ariaHasPopup | string | null | MDN Reference | | ariaHidden | string | null | MDN Reference | | ariaInvalid | string | null | MDN Reference | | ariaKeyShortcuts | string | null | MDN Reference | | ariaLabel | string | null | MDN Reference | | ariaLabelledByElements | readonly Element[] | null | MDN Reference | | ariaLevel | string | null | MDN Reference | | ariaLive | string | null | MDN Reference | | ariaModal | string | null | MDN Reference | | ariaMultiLine | string | null | MDN Reference | | ariaMultiSelectable | string | null | MDN Reference | | ariaOrientation | string | null | MDN Reference | | ariaOwnsElements | readonly Element[] | null | MDN Reference | | ariaPlaceholder | string | null | MDN Reference | | ariaPosInSet | string | null | MDN Reference | | ariaPressed | string | null | MDN Reference | | ariaReadOnly | string | null | MDN Reference | | ariaRelevant | string | null | MDN Reference | | ariaRequired | string | null | MDN Reference | | ariaRoleDescription | string | null | MDN Reference | | ariaRowCount | string | null | MDN Reference | | ariaRowIndex | string | null | MDN Reference | | ariaRowIndexText | string | null | MDN Reference | | ariaRowSpan | string | null | MDN Reference | | ariaSelected | string | null | MDN Reference | | ariaSetSize | string | null | MDN Reference | | ariaSort | string | null | MDN Reference | | ariaValueMax | string | null | MDN Reference | | ariaValueMin | string | null | MDN Reference | | ariaValueNow | string | null | MDN Reference | | ariaValueText | string | null | MDN Reference | | readonly assignedSlot | HTMLSlotElement | null | MDN Reference | | readonly ATTRIBUTE_NODE | 2 | — | | readonly attributes | NamedNodeMap | The Element.attributes property returns a live collection of all attribute nodes registered to the specified node.

MDN Reference | | readonly attributeStyleMap | StylePropertyMap | MDN Reference | | autocapitalize | string | The autocapitalize property of the HTMLElement interface represents the element's capitalization behavior for user input.

MDN Reference | | autocorrect | boolean | The autocorrect property of the HTMLElement interface controls whether or not autocorrection of editable text is enabled for spelling and/or punctuation errors.

MDN Reference | | autofocus | boolean | MDN Reference | | readonly baseURI | string | The read-only baseURI property of the Node interface returns the absolute base URL of the document containing the node.

MDN Reference | | readonly CDATA_SECTION_NODE | 4 | node is a CDATASection node. | | readonly childElementCount | number | MDN Reference | | readonly childNodes | NodeListOf<ChildNode> | The read-only childNodes property of the Node interface returns a live the first child node is assigned index 0.

MDN Reference | | readonly children | HTMLCollection | Returns the child elements.

MDN Reference | | className | string | The className property of the of the specified element.

MDN Reference | | readonly clientHeight | number | The clientHeight read-only property of the Element interface is zero for elements with no CSS or inline layout boxes; otherwise, it's the inner height of an element in pixels.

MDN Reference | | readonly clientLeft | number | The clientLeft read-only property of the Element interface returns the width of the left border of an element in pixels.

MDN Reference | | readonly clientTop | number | The clientTop read-only property of the Element interface returns the width of the top border of an element in pixels.

MDN Reference | | readonly clientWidth | number | The clientWidth read-only property of the Element interface is zero for inline elements and elements with no CSS; otherwise, it's the inner width of an element in pixels.

MDN Reference | | readonly COMMENT_NODE | 8 | node is a Comment node. | | contentEditable | string | MDN Reference | | readonly currentCSSZoom | number | The currentCSSZoom read-only property of the Element interface provides the 'effective' CSS zoom of an element, taking into account the zoom applied to the element and all its parent elements.

MDN Reference | | readonly dataset | DOMStringMap | MDN Reference | | dir | string | The HTMLElement.dir property indicates the text writing directionality of the content of the current element.

MDN Reference | | readonly DOCUMENT_FRAGMENT_NODE | 11 | node is a DocumentFragment node. | | readonly DOCUMENT_NODE | 9 | node is a document. | | readonly DOCUMENT_POSITION_CONTAINED_BY | 16 | Set when other is a descendant of node. | | readonly DOCUMENT_POSITION_CONTAINS | 8 | Set when other is an ancestor of node. | | readonly DOCUMENT_POSITION_DISCONNECTED | 1 | Set when node and other are not in the same tree. | | readonly DOCUMENT_POSITION_FOLLOWING | 4 | Set when other is following node. | | readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC | 32 | — | | readonly DOCUMENT_POSITION_PRECEDING | 2 | Set when other is preceding node. | | readonly DOCUMENT_TYPE_NODE | 10 | node is a doctype. | | draggable | boolean | The draggable property of the HTMLElement interface gets and sets a Boolean primitive indicating if the element is draggable.

MDN Reference | | readonly ELEMENT_NODE | 1 | node is an element. | | enterKeyHint | string | MDN Reference | | readonly ENTITY_NODE | 6 | — | | readonly ENTITY_REFERENCE_NODE | 5 | — | | readonly firstChild | ChildNode | null | The read-only firstChild property of the Node interface returns the node's first child in the tree, or null if the node has no children.

MDN Reference | | readonly firstElementChild | Element | null | Returns the first child that is an element, and null otherwise.

MDN Reference | | hidden | boolean | The HTMLElement property hidden reflects the value of the element's hidden attribute.

MDN Reference | | id | string | The id property of the Element interface represents the element's identifier, reflecting the id global attribute.

MDN Reference | | inert | boolean | The HTMLElement property inert reflects the value of the element's inert attribute.

MDN Reference | | innerHTML | string | The innerHTML property of the Element interface gets or sets the HTML or XML markup contained within the element.

MDN Reference | | innerText | string | The innerText property of the HTMLElement interface represents the rendered text content of a node and its descendants.

MDN Reference | | inputMode | string | MDN Reference | | readonly isConnected | boolean | The read-only isConnected property of the Node interface returns a boolean indicating whether the node is connected (directly or indirectly) to a Document object.

MDN Reference | | readonly isContentEditable | boolean | MDN Reference | | lang | string | The lang property of the HTMLElement interface indicates the base language of an element's attribute values and text content, in the form of a MISSING: RFC(5646, 'BCP 47 language identifier tag')].

MDN Reference | | readonly lastChild | ChildNode | null | The read-only lastChild property of the Node interface returns the last child of the node, or null if there are no child nodes.

MDN Reference | | readonly lastElementChild | Element | null | Returns the last child that is an element, and null otherwise.

MDN Reference | | readonly localName | string | The Element.localName read-only property returns the local part of the qualified name of an element.

MDN Reference | | readonly namespaceURI | string | null | The Element.namespaceURI read-only property returns the namespace URI of the element, or null if the element is not in a namespace.

MDN Reference | | readonly nextElementSibling | Element | null | Returns the first following sibling that is an element, and null otherwise.

MDN Reference | | readonly nextSibling | ChildNode | null | The read-only nextSibling property of the Node interface returns the node immediately following the specified one in their parent's Node.childNodes, or returns null if the specified node is the last child in the parent element.

MDN Reference | | readonly nodeName | string | The read-only nodeName property of Node returns the name of the current node as a string.

MDN Reference | | readonly nodeType | number | The read-only nodeType property of a Node interface is an integer that identifies what the node is.

MDN Reference | | nodeValue | string | null | The nodeValue property of the Node interface returns or sets the value of the current node.

MDN Reference | | nonce (optional) | string | MDN Reference | | readonly NOTATION_NODE | 12 | — | | readonly offsetHeight | number | The offsetHeight read-only property of the HTMLElement interface returns the height of an element, including vertical padding and borders, as an integer.

MDN Reference | | readonly offsetLeft | number | The offsetLeft read-only property of the HTMLElement interface returns the number of pixels that the upper left corner of the current element is offset to the left within the HTMLElement.offsetParent node.

MDN Reference | | readonly offsetParent | Element | null | The HTMLElement.offsetParent read-only property returns a reference to the element which is the closest (nearest in the containment hierarchy) positioned ancestor element.

MDN Reference | | readonly offsetTop | number | The offsetTop read-only property of the HTMLElement interface returns the distance from the outer border of the current element (including its margin) to the top padding edge of the HTMLelement.offsetParent, the closest positioned ancestor element.

MDN Reference | | readonly offsetWidth | number | The offsetWidth read-only property of the HTMLElement interface returns the layout width of an element as an integer.

MDN Reference | | onabort | __type(this: GlobalEventHandlers, ev: UIEvent): any | null | MDN Reference | | onanimationcancel | __type(this: GlobalEventHandlers, ev: AnimationEvent): any | null | MDN Reference | | onanimationend | __type(this: GlobalEventHandlers, ev: AnimationEvent): any | null | MDN Reference | | onanimationiteration | __type(this: GlobalEventHandlers, ev: AnimationEvent): any | null | MDN Reference | | onanimationstart | __type(this: GlobalEventHandlers, ev: AnimationEvent): any | null | MDN Reference | | onauxclick | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onbeforeinput | __type(this: GlobalEventHandlers, ev: InputEvent): any | null | MDN Reference | | onbeforematch | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onbeforetoggle | __type(this: GlobalEventHandlers, ev: ToggleEvent): any | null | MDN Reference | | onblur | __type(this: GlobalEventHandlers, ev: FocusEvent): any | null | MDN Reference | | oncancel | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncanplay | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncanplaythrough | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onchange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onclick | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onclose | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncontextlost | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncontextmenu | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | oncontextrestored | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncopy | __type(this: GlobalEventHandlers, ev: ClipboardEvent): any | null | MDN Reference | | oncuechange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncut | __type(this: GlobalEventHandlers, ev: ClipboardEvent): any | null | MDN Reference | | ondblclick | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | ondrag | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragend | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragenter | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragleave | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragover | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragstart | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondrop | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondurationchange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onemptied | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onended | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onerror | OnErrorEventHandler | MDN Reference | | onfocus | __type(this: GlobalEventHandlers, ev: FocusEvent): any | null | MDN Reference | | onformdata | __type(this: GlobalEventHandlers, ev: FormDataEvent): any | null | MDN Reference | | onfullscreenchange | __type(this: Element, ev: Event): any | null | MDN Reference | | onfullscreenerror | __type(this: Element, ev: Event): any | null | MDN Reference | | ongotpointercapture | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | oninput | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oninvalid | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onkeydown | __type(this: GlobalEventHandlers, ev: KeyboardEvent): any | null | MDN Reference | | onkeypress | __type(this: GlobalEventHandlers, ev: KeyboardEvent): any | null | — | | onkeyup | __type(this: GlobalEventHandlers, ev: KeyboardEvent): any | null | MDN Reference | | onload | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onloadeddata | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onloadedmetadata | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onloadstart | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onlostpointercapture | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onmousedown | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseenter | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseleave | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmousemove | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseout | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseover | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseup | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onpaste | __type(this: GlobalEventHandlers, ev: ClipboardEvent): any | null | MDN Reference | | onpause | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onplay | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onplaying | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onpointercancel | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerdown | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerenter | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerleave | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointermove | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerout | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerover | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerrawupdate | __type(this: GlobalEventHandlers, ev: Event): any | null | Available only in secure contexts.

MDN Reference | | onpointerup | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onprogress | __type(this: GlobalEventHandlers, ev: ProgressEvent): any | null | MDN Reference | | onratechange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onreset | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onresize | __type(this: GlobalEventHandlers, ev: UIEvent): any | null | MDN Reference | | onscroll | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onscrollend | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onsecuritypolicyviolation | __type(this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent): any | null | MDN Reference | | onseeked | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onseeking | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onselect | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onselectionchange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onselectstart | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onslotchange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onstalled | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onsubmit | __type(this: GlobalEventHandlers, ev: SubmitEvent): any | null | MDN Reference | | onsuspend | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | ontimeupdate | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | ontoggle | __type(this: GlobalEventHandlers, ev: ToggleEvent): any | null | MDN Reference | | ontouchcancel (optional) | __type(this: GlobalEventHandlers, ev: TouchEvent): any | null | MDN Reference | | ontouchend (optional) | __type(this: GlobalEventHandlers, ev: TouchEvent): any | null | MDN Reference | | ontouchmove (optional) | __type(this: GlobalEventHandlers, ev: TouchEvent): any | null | MDN Reference | | ontouchstart (optional) | __type(this: GlobalEventHandlers, ev: TouchEvent): any | null | MDN Reference | | ontransitioncancel | __type(this: GlobalEventHandlers, ev: TransitionEvent): any | null | MDN Reference | | ontransitionend | __type(this: GlobalEventHandlers, ev: TransitionEvent): any | null | MDN Reference | | ontransitionrun | __type(this: GlobalEventHandlers, ev: TransitionEvent): any | null | MDN Reference | | ontransitionstart | __type(this: GlobalEventHandlers, ev: TransitionEvent): any | null | MDN Reference | | onvolumechange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onwaiting | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onwebkitanimationend | __type(this: GlobalEventHandlers, ev: Event): any | null | — | | onwebkitanimationiteration | __type(this: GlobalEventHandlers, ev: Event): any | null | — | | onwebkitanimationstart | __type(this: GlobalEventHandlers, ev: Event): any | null | — | | onwebkittransitionend | __type(this: GlobalEventHandlers, ev: Event): any | null | — | | onwheel | __type(this: GlobalEventHandlers, ev: WheelEvent): any | null | MDN Reference | | outerHTML | string | The outerHTML attribute of the Element DOM interface gets the serialized HTML fragment describing the element including its descendants.

MDN Reference | | outerText | string | The outerText property of the HTMLElement interface returns the same value as HTMLElement.innerText.

MDN Reference | | readonly ownerDocument | Document | The read-only ownerDocument property of the Node interface returns the top-level document object of the node.

MDN Reference | | readonly parentElement | HTMLElement | null | The read-only parentElement property of Node interface returns the DOM node's parent Element, or null if the node either has no parent, or its parent isn't a DOM Element.

MDN Reference | | readonly parentNode | ParentNode | null | The read-only parentNode property of the Node interface returns the parent of the specified node in the DOM tree.

MDN Reference | | popover | string | null | The popover property of the HTMLElement interface gets and sets an element's popover state via JavaScript ('auto', 'hint', or 'manual'), and can be used for feature detection.

MDN Reference | | readonly prefix | string | null | The Element.prefix read-only property returns the namespace prefix of the specified element, or null if no prefix is specified.

MDN Reference | | readonly previousElementSibling | Element | null | Returns the first preceding sibling that is an element, and null otherwise.

MDN Reference | | readonly previousSibling | ChildNode | null | The read-only previousSibling property of the Node interface returns the node immediately preceding the specified one in its parent's or null if the specified node is the first in that list.

MDN Reference | | readonly PROCESSING_INSTRUCTION_NODE | 7 | node is a ProcessingInstruction node. | | role | string | null | MDN Reference | | readonly scrollHeight | number | The scrollHeight read-only property of the Element interface is a measurement of the height of an element's content, including content not visible on the screen due to overflow.

MDN Reference | | scrollLeft | number | The scrollLeft property of the Element interface gets or sets the number of pixels by which an element's content is scrolled from its left edge.

MDN Reference | | scrollTop | number | The scrollTop property of the Element interface gets or sets the number of pixels by which an element's content is scrolled from its top edge.

MDN Reference | | readonly scrollWidth | number | The scrollWidth read-only property of the Element interface is a measurement of the width of an element's content, including content not visible on the screen due to overflow.

MDN Reference | | readonly shadowRoot | ShadowRoot | null | The Element.shadowRoot read-only property represents the shadow root hosted by the element.

MDN Reference | | slot | string | The slot property of the Element interface returns the name of the shadow DOM slot the element is inserted in.

MDN Reference | | spellcheck | boolean | The spellcheck property of the HTMLElement interface represents a boolean value that controls the spell-checking hint.

MDN Reference | | tabIndex | number | MDN Reference | | readonly tagName | string | The tagName read-only property of the Element interface returns the tag name of the element on which it's called.

MDN Reference | | readonly TEXT_NODE | 3 | node is a Text node. | | title | string | The HTMLElement.title property represents the title of the element: the text usually displayed in a 'tooltip' popup when the mouse is over the node.

MDN Reference | | translate | boolean | The translate property of the HTMLElement interface indicates whether an element's attribute values and the values of its Text node children are to be translated when the page is localized, or whether to leave them unchanged.

MDN Reference | | writingSuggestions | string | The writingSuggestions property of the HTMLElement interface is a string indicating if browser-provided writing suggestions should be enabled under the scope of the element or not.

MDN Reference | | observedAttributes | string[] | — | | classList | void | — | | part | void | — | | style | void | — | | textContent | void | — | | addEventListener | void | — | | after | void | — | | animate | Animation | — | | append | void | — | | appendChild | T | — | | attachInternals | ElementInternals | — | | attachShadow | ShadowRoot | — | | attributeChangedCallback | void | — | | before | void | — | | blur | void | — | | checkVisibility | boolean | — | | click | void | — | | cloneNode | Node | — | | closest | HTMLElementTagNameMap[K] | null | — | | compareDocumentPosition | number | — | | computedStyleMap | StylePropertyMapReadOnly | — | | connectedCallback | void | — | | contains | boolean | — | | disconnectedCallback | void | — | | dispatchEvent | boolean | — | | focus | void | — | | getAnimations | Animation[] | — | | getAttribute | string | null | — | | getAttributeNames | string[] | — | | getAttributeNode | Attr | null | — | | getAttributeNodeNS | Attr | null | — | | getAttributeNS | string | null | — | | getBoundingClientRect | DOMRect | — | | getClientRects | DOMRectList | — | | getElementsByClassName | HTMLCollectionOf<Element> | — | | getElementsByTagName | HTMLCollectionOf<HTMLElementTagNameMap[K]> | — | | getElementsByTagNameNS | HTMLCollectionOf<HTMLElement> | — | | getHTML | string | — | | getRootNode | Node | — | | hasAttribute | boolean | — | | hasAttributeNS | boolean | — | | hasAttributes | boolean | — | | hasChildNodes | boolean | — | | hasPointerCapture | boolean | — | | hidePopover | void | — | | insertAdjacentElement | Element | null | — | | insertAdjacentHTML | void | — | | insertAdjacentText | void | — | | insertBefore | T | — | | isDefaultNamespace | boolean | — | | isEqualNode | boolean | — | | isSameNode | boolean | — | | lookupNamespaceURI | string | null | — | | lookupPrefix | string | null | — | | matches | boolean | — | | normalize | void | — | | prepend | void | — | | querySelector | HTMLElementTagNameMap[K] | null | — | | querySelectorAll | NodeListOf<HTMLElementTagNameMap[K]> | — | | releasePointerCapture | void | — | | remove | void | — | | removeAttribute | void | — | | removeAttributeNode | Attr | — | | removeAttributeNS | void | — | | removeChild | T | — | | removeEventListener | void | — | | replaceChild | T | — | | replaceChildren | void | — | | replaceWith | void | — | | requestFullscreen | Promise<void> | — | | requestPointerLock | Promise<void> | — | | scroll | void | — | | scrollBy | void | — | | scrollIntoView | void | — | | scrollTo | void | — | | setAttribute | void | — | | setAttributeNode | Attr | null | — | | setAttributeNodeNS | Attr | null | — | | setAttributeNS | void | — | | setHTMLUnsafe | void | — | | setPointerCapture | void | — | | showPopover | void | — | | toggleAttribute | boolean | — | | togglePopover | boolean | — | | webkitMatchesSelector | boolean | — | | define | void | — |


class ThemeKitToggle

Extends HTMLElement

MemberTypeDescription
constructorThemeKitToggle
accessKeystringThe HTMLElement.accessKey property sets the keystroke which a user can press to jump to a given element.

MDN Reference | | readonly accessKeyLabel | string | The HTMLElement.accessKeyLabel read-only property returns a string containing the element's browser-assigned access key (if any); otherwise it returns an empty string.

MDN Reference | | ariaActiveDescendantElement | Element | null | MDN Reference | | ariaAtomic | string | null | MDN Reference | | ariaAutoComplete | string | null | MDN Reference | | ariaBrailleLabel | string | null | MDN Reference | | ariaBrailleRoleDescription | string | null | MDN Reference | | ariaBusy | string | null | MDN Reference | | ariaChecked | string | null | MDN Reference | | ariaColCount | string | null | MDN Reference | | ariaColIndex | string | null | MDN Reference | | ariaColIndexText | string | null | MDN Reference | | ariaColSpan | string | null | MDN Reference | | ariaControlsElements | readonly Element[] | null | MDN Reference | | ariaCurrent | string | null | MDN Reference | | ariaDescribedByElements | readonly Element[] | null | MDN Reference | | ariaDescription | string | null | MDN Reference | | ariaDetailsElements | readonly Element[] | null | MDN Reference | | ariaDisabled | string | null | MDN Reference | | ariaErrorMessageElements | readonly Element[] | null | MDN Reference | | ariaExpanded | string | null | MDN Reference | | ariaFlowToElements | readonly Element[] | null | MDN Reference | | ariaHasPopup | string | null | MDN Reference | | ariaHidden | string | null | MDN Reference | | ariaInvalid | string | null | MDN Reference | | ariaKeyShortcuts | string | null | MDN Reference | | ariaLabel | string | null | MDN Reference | | ariaLabelledByElements | readonly Element[] | null | MDN Reference | | ariaLevel | string | null | MDN Reference | | ariaLive | string | null | MDN Reference | | ariaModal | string | null | MDN Reference | | ariaMultiLine | string | null | MDN Reference | | ariaMultiSelectable | string | null | MDN Reference | | ariaOrientation | string | null | MDN Reference | | ariaOwnsElements | readonly Element[] | null | MDN Reference | | ariaPlaceholder | string | null | MDN Reference | | ariaPosInSet | string | null | MDN Reference | | ariaPressed | string | null | MDN Reference | | ariaReadOnly | string | null | MDN Reference | | ariaRelevant | string | null | MDN Reference | | ariaRequired | string | null | MDN Reference | | ariaRoleDescription | string | null | MDN Reference | | ariaRowCount | string | null | MDN Reference | | ariaRowIndex | string | null | MDN Reference | | ariaRowIndexText | string | null | MDN Reference | | ariaRowSpan | string | null | MDN Reference | | ariaSelected | string | null | MDN Reference | | ariaSetSize | string | null | MDN Reference | | ariaSort | string | null | MDN Reference | | ariaValueMax | string | null | MDN Reference | | ariaValueMin | string | null | MDN Reference | | ariaValueNow | string | null | MDN Reference | | ariaValueText | string | null | MDN Reference | | readonly assignedSlot | HTMLSlotElement | null | MDN Reference | | readonly ATTRIBUTE_NODE | 2 | — | | readonly attributes | NamedNodeMap | The Element.attributes property returns a live collection of all attribute nodes registered to the specified node.

MDN Reference | | readonly attributeStyleMap | StylePropertyMap | MDN Reference | | autocapitalize | string | The autocapitalize property of the HTMLElement interface represents the element's capitalization behavior for user input.

MDN Reference | | autocorrect | boolean | The autocorrect property of the HTMLElement interface controls whether or not autocorrection of editable text is enabled for spelling and/or punctuation errors.

MDN Reference | | autofocus | boolean | MDN Reference | | readonly baseURI | string | The read-only baseURI property of the Node interface returns the absolute base URL of the document containing the node.

MDN Reference | | readonly CDATA_SECTION_NODE | 4 | node is a CDATASection node. | | readonly childElementCount | number | MDN Reference | | readonly childNodes | NodeListOf<ChildNode> | The read-only childNodes property of the Node interface returns a live the first child node is assigned index 0.

MDN Reference | | readonly children | HTMLCollection | Returns the child elements.

MDN Reference | | className | string | The className property of the of the specified element.

MDN Reference | | readonly clientHeight | number | The clientHeight read-only property of the Element interface is zero for elements with no CSS or inline layout boxes; otherwise, it's the inner height of an element in pixels.

MDN Reference | | readonly clientLeft | number | The clientLeft read-only property of the Element interface returns the width of the left border of an element in pixels.

MDN Reference | | readonly clientTop | number | The clientTop read-only property of the Element interface returns the width of the top border of an element in pixels.

MDN Reference | | readonly clientWidth | number | The clientWidth read-only property of the Element interface is zero for inline elements and elements with no CSS; otherwise, it's the inner width of an element in pixels.

MDN Reference | | readonly COMMENT_NODE | 8 | node is a Comment node. | | contentEditable | string | MDN Reference | | readonly currentCSSZoom | number | The currentCSSZoom read-only property of the Element interface provides the 'effective' CSS zoom of an element, taking into account the zoom applied to the element and all its parent elements.

MDN Reference | | readonly dataset | DOMStringMap | MDN Reference | | dir | string | The HTMLElement.dir property indicates the text writing directionality of the content of the current element.

MDN Reference | | readonly DOCUMENT_FRAGMENT_NODE | 11 | node is a DocumentFragment node. | | readonly DOCUMENT_NODE | 9 | node is a document. | | readonly DOCUMENT_POSITION_CONTAINED_BY | 16 | Set when other is a descendant of node. | | readonly DOCUMENT_POSITION_CONTAINS | 8 | Set when other is an ancestor of node. | | readonly DOCUMENT_POSITION_DISCONNECTED | 1 | Set when node and other are not in the same tree. | | readonly DOCUMENT_POSITION_FOLLOWING | 4 | Set when other is following node. | | readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC | 32 | — | | readonly DOCUMENT_POSITION_PRECEDING | 2 | Set when other is preceding node. | | readonly DOCUMENT_TYPE_NODE | 10 | node is a doctype. | | draggable | boolean | The draggable property of the HTMLElement interface gets and sets a Boolean primitive indicating if the element is draggable.

MDN Reference | | readonly ELEMENT_NODE | 1 | node is an element. | | enterKeyHint | string | MDN Reference | | readonly ENTITY_NODE | 6 | — | | readonly ENTITY_REFERENCE_NODE | 5 | — | | readonly firstChild | ChildNode | null | The read-only firstChild property of the Node interface returns the node's first child in the tree, or null if the node has no children.

MDN Reference | | readonly firstElementChild | Element | null | Returns the first child that is an element, and null otherwise.

MDN Reference | | hidden | boolean | The HTMLElement property hidden reflects the value of the element's hidden attribute.

MDN Reference | | id | string | The id property of the Element interface represents the element's identifier, reflecting the id global attribute.

MDN Reference | | inert | boolean | The HTMLElement property inert reflects the value of the element's inert attribute.

MDN Reference | | innerHTML | string | The innerHTML property of the Element interface gets or sets the HTML or XML markup contained within the element.

MDN Reference | | innerText | string | The innerText property of the HTMLElement interface represents the rendered text content of a node and its descendants.

MDN Reference | | inputMode | string | MDN Reference | | readonly isConnected | boolean | The read-only isConnected property of the Node interface returns a boolean indicating whether the node is connected (directly or indirectly) to a Document object.

MDN Reference | | readonly isContentEditable | boolean | MDN Reference | | lang | string | The lang property of the HTMLElement interface indicates the base language of an element's attribute values and text content, in the form of a MISSING: RFC(5646, 'BCP 47 language identifier tag')].

MDN Reference | | readonly lastChild | ChildNode | null | The read-only lastChild property of the Node interface returns the last child of the node, or null if there are no child nodes.

MDN Reference | | readonly lastElementChild | Element | null | Returns the last child that is an element, and null otherwise.

MDN Reference | | readonly localName | string | The Element.localName read-only property returns the local part of the qualified name of an element.

MDN Reference | | readonly namespaceURI | string | null | The Element.namespaceURI read-only property returns the namespace URI of the element, or null if the element is not in a namespace.

MDN Reference | | readonly nextElementSibling | Element | null | Returns the first following sibling that is an element, and null otherwise.

MDN Reference | | readonly nextSibling | ChildNode | null | The read-only nextSibling property of the Node interface returns the node immediately following the specified one in their parent's Node.childNodes, or returns null if the specified node is the last child in the parent element.

MDN Reference | | readonly nodeName | string | The read-only nodeName property of Node returns the name of the current node as a string.

MDN Reference | | readonly nodeType | number | The read-only nodeType property of a Node interface is an integer that identifies what the node is.

MDN Reference | | nodeValue | string | null | The nodeValue property of the Node interface returns or sets the value of the current node.

MDN Reference | | nonce (optional) | string | MDN Reference | | readonly NOTATION_NODE | 12 | — | | readonly offsetHeight | number | The offsetHeight read-only property of the HTMLElement interface returns the height of an element, including vertical padding and borders, as an integer.

MDN Reference | | readonly offsetLeft | number | The offsetLeft read-only property of the HTMLElement interface returns the number of pixels that the upper left corner of the current element is offset to the left within the HTMLElement.offsetParent node.

MDN Reference | | readonly offsetParent | Element | null | The HTMLElement.offsetParent read-only property returns a reference to the element which is the closest (nearest in the containment hierarchy) positioned ancestor element.

MDN Reference | | readonly offsetTop | number | The offsetTop read-only property of the HTMLElement interface returns the distance from the outer border of the current element (including its margin) to the top padding edge of the HTMLelement.offsetParent, the closest positioned ancestor element.

MDN Reference | | readonly offsetWidth | number | The offsetWidth read-only property of the HTMLElement interface returns the layout width of an element as an integer.

MDN Reference | | onabort | __type(this: GlobalEventHandlers, ev: UIEvent): any | null | MDN Reference | | onanimationcancel | __type(this: GlobalEventHandlers, ev: AnimationEvent): any | null | MDN Reference | | onanimationend | __type(this: GlobalEventHandlers, ev: AnimationEvent): any | null | MDN Reference | | onanimationiteration | __type(this: GlobalEventHandlers, ev: AnimationEvent): any | null | MDN Reference | | onanimationstart | __type(this: GlobalEventHandlers, ev: AnimationEvent): any | null | MDN Reference | | onauxclick | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onbeforeinput | __type(this: GlobalEventHandlers, ev: InputEvent): any | null | MDN Reference | | onbeforematch | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onbeforetoggle | __type(this: GlobalEventHandlers, ev: ToggleEvent): any | null | MDN Reference | | onblur | __type(this: GlobalEventHandlers, ev: FocusEvent): any | null | MDN Reference | | oncancel | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncanplay | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncanplaythrough | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onchange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onclick | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onclose | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncontextlost | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncontextmenu | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | oncontextrestored | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncopy | __type(this: GlobalEventHandlers, ev: ClipboardEvent): any | null | MDN Reference | | oncuechange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oncut | __type(this: GlobalEventHandlers, ev: ClipboardEvent): any | null | MDN Reference | | ondblclick | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | ondrag | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragend | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragenter | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragleave | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragover | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondragstart | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondrop | __type(this: GlobalEventHandlers, ev: DragEvent): any | null | MDN Reference | | ondurationchange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onemptied | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onended | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onerror | OnErrorEventHandler | MDN Reference | | onfocus | __type(this: GlobalEventHandlers, ev: FocusEvent): any | null | MDN Reference | | onformdata | __type(this: GlobalEventHandlers, ev: FormDataEvent): any | null | MDN Reference | | onfullscreenchange | __type(this: Element, ev: Event): any | null | MDN Reference | | onfullscreenerror | __type(this: Element, ev: Event): any | null | MDN Reference | | ongotpointercapture | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | oninput | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | oninvalid | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onkeydown | __type(this: GlobalEventHandlers, ev: KeyboardEvent): any | null | MDN Reference | | onkeypress | __type(this: GlobalEventHandlers, ev: KeyboardEvent): any | null | — | | onkeyup | __type(this: GlobalEventHandlers, ev: KeyboardEvent): any | null | MDN Reference | | onload | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onloadeddata | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onloadedmetadata | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onloadstart | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onlostpointercapture | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onmousedown | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseenter | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseleave | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmousemove | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseout | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseover | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onmouseup | __type(this: GlobalEventHandlers, ev: MouseEvent): any | null | MDN Reference | | onpaste | __type(this: GlobalEventHandlers, ev: ClipboardEvent): any | null | MDN Reference | | onpause | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onplay | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onplaying | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onpointercancel | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerdown | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerenter | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerleave | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointermove | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerout | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerover | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onpointerrawupdate | __type(this: GlobalEventHandlers, ev: Event): any | null | Available only in secure contexts.

MDN Reference | | onpointerup | __type(this: GlobalEventHandlers, ev: PointerEvent): any | null | MDN Reference | | onprogress | __type(this: GlobalEventHandlers, ev: ProgressEvent): any | null | MDN Reference | | onratechange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onreset | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onresize | __type(this: GlobalEventHandlers, ev: UIEvent): any | null | MDN Reference | | onscroll | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onscrollend | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onsecuritypolicyviolation | __type(this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent): any | null | MDN Reference | | onseeked | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onseeking | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onselect | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onselectionchange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onselectstart | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onslotchange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onstalled | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onsubmit | __type(this: GlobalEventHandlers, ev: SubmitEvent): any | null | MDN Reference | | onsuspend | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | ontimeupdate | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | ontoggle | __type(this: GlobalEventHandlers, ev: ToggleEvent): any | null | MDN Reference | | ontouchcancel (optional) | __type(this: GlobalEventHandlers, ev: TouchEvent): any | null | MDN Reference | | ontouchend (optional) | __type(this: GlobalEventHandlers, ev: TouchEvent): any | null | MDN Reference | | ontouchmove (optional) | __type(this: GlobalEventHandlers, ev: TouchEvent): any | null | MDN Reference | | ontouchstart (optional) | __type(this: GlobalEventHandlers, ev: TouchEvent): any | null | MDN Reference | | ontransitioncancel | __type(this: GlobalEventHandlers, ev: TransitionEvent): any | null | MDN Reference | | ontransitionend | __type(this: GlobalEventHandlers, ev: TransitionEvent): any | null | MDN Reference | | ontransitionrun | __type(this: GlobalEventHandlers, ev: TransitionEvent): any | null | MDN Reference | | ontransitionstart | __type(this: GlobalEventHandlers, ev: TransitionEvent): any | null | MDN Reference | | onvolumechange | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onwaiting | __type(this: GlobalEventHandlers, ev: Event): any | null | MDN Reference | | onwebkitanimationend | __type(this: GlobalEventHandlers, ev: Event): any | null | — | | onwebkitanimationiteration | __type(this: GlobalEventHandlers, ev: Event): any | null | — | | onwebkitanimationstart | __type(this: GlobalEventHandlers, ev: Event): any | null | — | | onwebkittransitionend | __type(this: GlobalEventHandlers, ev: Event): any | null | — | | onwheel | __type(this: GlobalEventHandlers, ev: WheelEvent): any | null | MDN Reference | | outerHTML | string | The outerHTML attribute of the Element DOM interface gets the serialized HTML fragment describing the element including its descendants.

MDN Reference | | outerText | string | The outerText property of the HTMLElement interface returns the same value as HTMLElement.innerText.

MDN Reference | | readonly ownerDocument | Document | The read-only ownerDocument property of the Node interface returns the top-level document object of the node.

MDN Reference | | readonly parentElement | HTMLElement | null | The read-only parentElement property of Node interface returns the DOM node's parent Element, or null if the node either has no parent, or its parent isn't a DOM Element.

MDN Reference | | readonly parentNode | ParentNode | null | The read-only parentNode property of the Node interface returns the parent of the specified node in the DOM tree.

MDN Reference | | popover | string | null | The popover property of the HTMLElement interface gets and sets an element's popover state via JavaScript ('auto', 'hint', or 'manual'), and can be used for feature detection.

MDN Reference | | readonly prefix | string | null | The Element.prefix read-only property returns the namespace prefix of the specified element, or null if no prefix is specified.

MDN Reference | | readonly previousElementSibling | Element | null | Returns the first preceding sibling that is an element, and null otherwise.

MDN Reference | | readonly previousSibling | ChildNode | null | The read-only previousSibling property of the Node interface returns the node immediately preceding the specified one in its parent's or null if the specified node is the first in that list.

MDN Reference | | readonly PROCESSING_INSTRUCTION_NODE | 7 | node is a ProcessingInstruction node. | | role | string | null | MDN Reference | | readonly scrollHeight | number | The scrollHeight read-only property of the Element interface is a measurement of the height of an element's content, including content not visible on the screen due to overflow.

MDN Reference | | scrollLeft | number | The scrollLeft property of the Element interface gets or sets the number of pixels by which an element's content is scrolled from its left edge.

MDN Reference | | scrollTop | number | The scrollTop property of the Element interface gets or sets the number of pixels by which an element's content is scrolled from its top edge.

MDN Reference | | readonly scrollWidth | number | The scrollWidth read-only property of the Element interface is a measurement of the width of an element's content, including content not visible on the screen due to overflow.

MDN Reference | | readonly shadowRoot | ShadowRoot | null | The Element.shadowRoot read-only property represents the shadow root hosted by the element.

MDN Reference | | slot | string | The slot property of the Element interface returns the name of the shadow DOM slot the element is inserted in.

MDN Reference | | spellcheck | boolean | The spellcheck property of the HTMLElement interface represents a boolean value that controls the spell-checking hint.

MDN Reference | | tabIndex | number | MDN Reference | | readonly tagName | string | The tagName read-only property of the Element interface returns the tag name of the element on which it's called.

MDN Reference | | readonly TEXT_NODE | 3 | node is a Text node. | | title | string | The HTMLElement.title property represents the title of the element: the text usually displayed in a 'tooltip' popup when the mouse is over the node.

MDN Reference | | translate | boolean | The translate property of the HTMLElement interface indicates whether an element's attribute values and the values of its Text node children are to be translated when the page is localized, or whether to leave them unchanged.

MDN Reference | | writingSuggestions | string | The writingSuggestions property of the HTMLElement interface is a string indicating if browser-provided writing suggestions should be enabled under the scope of the element or not.

MDN Reference | | classList | void | — | | part | void | — | | style | void | — | | textContent | void | — | | addEventListener | void | — | | after | void | — | | animate | Animation | — | | append | void | — | | appendChild | T | — | | attachInternals | ElementInternals | — | | attachShadow | ShadowRoot | — | | before | void | — | | blur | void | — | | checkVisibility | boolean | — | | click | void | — | | cloneNode | Node | — | | closest | HTMLElementTagNameMap[K] | null | — | | compareDocumentPosition | number | — | | computedStyleMap | StylePropertyMapReadOnly | — | | connectedCallback | void | — | | contains | boolean | — | | disconnectedCallback | void | — | | dispatchEvent | boolean | — | | focus | void | — | | getAnimations | Animation[] | — | | getAttribute | string | null | — | | getAttributeNames | string[] | — | | getAttributeNode | Attr | null | — | | getAttributeNodeNS | Attr | null | — | | getAttributeNS | string | null | — | | getBoundingClientRect | DOMRect | — | | getClientRects | DOMRectList | — | | getElementsByClassName | HTMLCollectionOf<Element> | — | | getElementsByTagName | HTMLCollectionOf<HTMLElementTagNameMap[K]> | — | | getElementsByTagNameNS | HTMLCollectionOf<HTMLElement> | — | | getHTML | string | — | | getRootNode | Node | — | | hasAttribute | boolean | — | | hasAttributeNS | boolean | — | | hasAttributes | boolean | — | | hasChildNodes | boolean | — | | hasPointerCapture | boolean | — | | hidePopover | void | — | | insertAdjacentElement | Element | null | — | | insertAdjacentHTML | void | — | | insertAdjacentText | void | — | | insertBefore | T | — | | isDefaultNamespace | boolean | — | | isEqualNode | boolean | — | | isSameNode | boolean | — | | lookupNamespaceURI | string | null | — | | lookupPrefix | string | null | — | | matches | boolean | — | | normalize | void | — | | prepend | void | — | | querySelector | HTMLElementTagNameMap[K] | null | — | | querySelectorAll | NodeListOf<HTMLElementTagNameMap[K]> | — | | releasePointerCapture | void | — | | remove | void | — | | removeAttribute | void | — | | removeAttributeNode | Attr | — | | removeAttributeNS | void | — | | removeChild | T | — | | removeEventListener | void | — | | replaceChild | T | — | | replaceChildren | void | — | | replaceWith | void | — | | requestFullscreen | Promise<void> | — | | requestPointerLock | Promise<void> | — | | scroll | void | — | | scrollBy | void | — | | scrollIntoView | void | — | | scrollTo | void | — | | setAttribute | void | — | | setAttributeNode | Attr | null | — | | setAttributeNodeNS | Attr | null | — | | setAttributeNS | void | — | | setHTMLUnsafe | void | — | | setPointerCapture | void | — | | showPopover | void | — | | toggleAttribute | boolean | — | | togglePopover | boolean | — | | webkitMatchesSelector | boolean | — | | define | void | — |


Interfaces

ThemeKitProviderProps

MemberTypeDescription
defaultTheme (optional)string
scheduled (optional)ThemeScheduleOptions<ThemeDefinition<string>>
themes (optional)readonly ThemeDefinition<string>[]

@theme-kit/web — API Reference — Theme Kit