HoopsAccordion

class ui.accordion.HoopsAccordion()

A custom web component that implements an accessible accordion using LitElement.

Index

Constructors

Properties

Accessors

Methods

Constructors

ui.accordion.HoopsAccordion.constructor()
HoopsAccordion(): HoopsAccordion

Returns: HoopsAccordion

Properties

ui.accordion.HoopsAccordion._$litElement$

static inherited

_$litElement$: boolean
ui.accordion.HoopsAccordion.[metadata]

static inherited

[metadata]: (object | Record)
ui.accordion.HoopsAccordion.elementProperties

static inherited

elementProperties: PropertyDeclarationMap

Memoized list of all element properties, including any superclass properties. Created lazily on user subclasses when finalizing the class.

ui.accordion.HoopsAccordion.elementStyles

static inherited

elementStyles: CSSResultOrNative[]

Memoized list of all element styles. Created lazily on user subclasses when finalizing the class.

ui.accordion.HoopsAccordion.properties

static inherited

properties: PropertyDeclarations

User-supplied object that maps property names to PropertyDeclaration objects containing options for configuring reactive properties. When a reactive property is set the element will update and render.

By default properties are public fields, and as such, they should be considered as primarily settable by element users, either via attribute or the property itself.

Generally, properties that are changed by the element should be private or protected fields and should use the state: true option. Properties marked as state do not reflect from the corresponding attribute

However, sometimes element code does need to set a public property. This should typically only be done in response to user interaction, and an event should be fired informing the user; for example, a checkbox sets its checked property when clicked and fires a changed event. Mutating public properties should typically not be done for non-primitive (object or array) properties. In other cases when an element needs to manage state, a private property set with the state: true option should be used. When needed, state properties can be initialized via public properties to facilitate complex interactions.

ui.accordion.HoopsAccordion.shadowRootOptions

static inherited

shadowRootOptions: ShadowRootInit

Options used when calling attachShadow. Set this property to customize the options for the shadowRoot; for example, to create a closed shadowRoot: {mode: 'closed'}.

Note, these options are used in createRenderRoot. If this method is customized, options should be respected if possible.

ui.accordion.HoopsAccordion.styles

static

styles: CSSResult

Array of styles to apply to the element. The styles should be defined using the ? tag function, via constructible stylesheets, or imported from native CSS module scripts.

Note on Content Security Policy:

Element styles are implemented with <style> tags when the browser doesn’t support adopted StyleSheets. To use such <style> tags with the style-src CSP directive, the style-src value must either include ‘unsafe-inline’ or nonce-<base64-value> with <base64-value> replaced be a server-generated nonce.

To provide a nonce to use on generated <style> elements, set window.litNonce to a server-generated nonce in your page’s HTML, before loading application code:

<script>
  // Generated and unique per request:
  window.litNonce = 'a1b2c3d4';
</script>
ui.accordion.HoopsAccordion.finalized

static inherited

finalized: (undefined | True)

Marks class as having been finalized, which includes creating properties from static properties, but does not include all properties created from decorators.

ui.accordion.HoopsAccordion._initializers

static optional inherited

_initializers: Initializer[]
ui.accordion.HoopsAccordion.disableWarning

static optional inherited

disableWarning: (warningKind: WarningKind) => void

Disable the given warning category for this class.

This method only exists in development builds, so it should be accessed with a guard like:

// Disable for all ReactiveElement subclasses
ReactiveElement.disableWarning?.('migration');

// Disable for only MyElement and subclasses
MyElement.disableWarning?.('migration');
ui.accordion.HoopsAccordion.enabledWarnings

static optional inherited

enabledWarnings: WarningKind[]

Read or set all the enabled warning categories for this class.

This property is only used in development builds.

ui.accordion.HoopsAccordion.enableWarning

static optional inherited

enableWarning: (warningKind: WarningKind) => void

Enable the given warning category for this class.

This method only exists in development builds, so it should be accessed with a guard like:

// Enable for all ReactiveElement subclasses
ReactiveElement.enableWarning?.('migration');

// Enable for only MyElement and subclasses
MyElement.enableWarning?.('migration');
ui.accordion.HoopsAccordion.accessKey

inherited

accessKey: string

MDN Reference

ui.accordion.HoopsAccordion.accessKeyLabel

readonly inherited

accessKeyLabel: string

MDN Reference

ui.accordion.HoopsAccordion.ariaAtomic

inherited

ariaAtomic: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaAutoComplete

inherited

ariaAutoComplete: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaBrailleLabel

inherited

ariaBrailleLabel: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaBrailleRoleDescription

inherited

ariaBrailleRoleDescription: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaBusy

inherited

ariaBusy: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaChecked

inherited

ariaChecked: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaColCount

inherited

ariaColCount: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaColIndex

inherited

ariaColIndex: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaColIndexText

inherited

ariaColIndexText: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaColSpan

inherited

ariaColSpan: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaCurrent

inherited

ariaCurrent: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaDescription

inherited

ariaDescription: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaDisabled

inherited

ariaDisabled: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaExpanded

inherited

ariaExpanded: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaHasPopup

inherited

ariaHasPopup: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaHidden

inherited

ariaHidden: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaInvalid

inherited

ariaInvalid: (None | string)
ui.accordion.HoopsAccordion.ariaKeyShortcuts

inherited

ariaKeyShortcuts: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaLabel

inherited

ariaLabel: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaLevel

inherited

ariaLevel: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaLive

inherited

ariaLive: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaModal

inherited

ariaModal: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaMultiLine

inherited

ariaMultiLine: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaMultiSelectable

inherited

ariaMultiSelectable: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaOrientation

inherited

ariaOrientation: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaPlaceholder

inherited

ariaPlaceholder: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaPosInSet

inherited

ariaPosInSet: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaPressed

inherited

ariaPressed: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaReadOnly

inherited

ariaReadOnly: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaRequired

inherited

ariaRequired: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaRoleDescription

inherited

ariaRoleDescription: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaRowCount

inherited

ariaRowCount: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaRowIndex

inherited

ariaRowIndex: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaRowIndexText

inherited

ariaRowIndexText: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaRowSpan

inherited

ariaRowSpan: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaSelected

inherited

ariaSelected: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaSetSize

inherited

ariaSetSize: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaSort

inherited

ariaSort: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaValueMax

inherited

ariaValueMax: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaValueMin

inherited

ariaValueMin: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaValueNow

inherited

ariaValueNow: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.ariaValueText

inherited

ariaValueText: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.assignedSlot

readonly inherited

assignedSlot: (None | HTMLSlotElement)

MDN Reference

ui.accordion.HoopsAccordion.ATTRIBUTE_NODE

readonly inherited

ATTRIBUTE_NODE: 2
ui.accordion.HoopsAccordion.attributes

readonly inherited

attributes: NamedNodeMap

MDN Reference

ui.accordion.HoopsAccordion.attributeStyleMap

readonly inherited

attributeStyleMap: StylePropertyMap

MDN Reference

ui.accordion.HoopsAccordion.autocapitalize

inherited

autocapitalize: string

MDN Reference

ui.accordion.HoopsAccordion.autofocus

inherited

autofocus: boolean

MDN Reference

ui.accordion.HoopsAccordion.baseURI

readonly inherited

baseURI: string

Returns node’s node document’s document base URL.

MDN Reference

ui.accordion.HoopsAccordion.CDATA_SECTION_NODE

readonly inherited

CDATA_SECTION_NODE: 4

node is a CDATASection node.

ui.accordion.HoopsAccordion.childElementCount

readonly inherited

childElementCount: number

MDN Reference

ui.accordion.HoopsAccordion.childNodes

readonly inherited

childNodes: NodeListOf

Returns the children.

MDN Reference

ui.accordion.HoopsAccordion.children

readonly inherited

children: HTMLCollection

Returns the child elements.

MDN Reference

ui.accordion.HoopsAccordion.classList

readonly inherited

classList: DOMTokenList

Allows for manipulation of element’s class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.

MDN Reference

ui.accordion.HoopsAccordion.className

inherited

className: string

Returns the value of element’s class content attribute. Can be set to change it.

MDN Reference

ui.accordion.HoopsAccordion.clientHeight

readonly inherited

clientHeight: number

MDN Reference

ui.accordion.HoopsAccordion.clientLeft

readonly inherited

clientLeft: number

MDN Reference

ui.accordion.HoopsAccordion.clientTop

readonly inherited

clientTop: number

MDN Reference

ui.accordion.HoopsAccordion.clientWidth

readonly inherited

clientWidth: number

MDN Reference

ui.accordion.HoopsAccordion.COMMENT_NODE

readonly inherited

COMMENT_NODE: 8

node is a Comment node.

ui.accordion.HoopsAccordion.contentEditable

inherited

contentEditable: string

MDN Reference

ui.accordion.HoopsAccordion.currentCSSZoom

readonly inherited

currentCSSZoom: number

MDN Reference

ui.accordion.HoopsAccordion.dataset

readonly inherited

dataset: DOMStringMap

MDN Reference

ui.accordion.HoopsAccordion.dir

inherited

dir: string

MDN Reference

ui.accordion.HoopsAccordion.disabled
disabled: boolean
ui.accordion.HoopsAccordion.DOCUMENT_FRAGMENT_NODE

readonly inherited

DOCUMENT_FRAGMENT_NODE: 11

node is a DocumentFragment node.

ui.accordion.HoopsAccordion.DOCUMENT_NODE

readonly inherited

DOCUMENT_NODE: 9

node is a document.

ui.accordion.HoopsAccordion.DOCUMENT_POSITION_CONTAINED_BY

readonly inherited

DOCUMENT_POSITION_CONTAINED_BY: 16

Set when other is a descendant of node.

ui.accordion.HoopsAccordion.DOCUMENT_POSITION_CONTAINS

readonly inherited

DOCUMENT_POSITION_CONTAINS: 8

Set when other is an ancestor of node.

ui.accordion.HoopsAccordion.DOCUMENT_POSITION_DISCONNECTED

readonly inherited

DOCUMENT_POSITION_DISCONNECTED: 1

Set when node and other are not in the same tree.

ui.accordion.HoopsAccordion.DOCUMENT_POSITION_FOLLOWING

readonly inherited

DOCUMENT_POSITION_FOLLOWING: 4

Set when other is following node.

ui.accordion.HoopsAccordion.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC

readonly inherited

DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32
ui.accordion.HoopsAccordion.DOCUMENT_POSITION_PRECEDING

readonly inherited

DOCUMENT_POSITION_PRECEDING: 2

Set when other is preceding node.

ui.accordion.HoopsAccordion.DOCUMENT_TYPE_NODE

readonly inherited

DOCUMENT_TYPE_NODE: 10

node is a doctype.

ui.accordion.HoopsAccordion.draggable

inherited

draggable: boolean

MDN Reference

ui.accordion.HoopsAccordion.ELEMENT_NODE

readonly inherited

ELEMENT_NODE: 1

node is an element.

ui.accordion.HoopsAccordion.enterKeyHint

inherited

enterKeyHint: string

MDN Reference

ui.accordion.HoopsAccordion.ENTITY_NODE

readonly inherited

ENTITY_NODE: 6
ui.accordion.HoopsAccordion.ENTITY_REFERENCE_NODE

readonly inherited

ENTITY_REFERENCE_NODE: 5
ui.accordion.HoopsAccordion.expanded
expanded: boolean
ui.accordion.HoopsAccordion.firstChild

readonly inherited

firstChild: (None | ChildNode)

Returns the first child.

MDN Reference

ui.accordion.HoopsAccordion.firstElementChild

readonly inherited

firstElementChild: (None | Element)

Returns the first child that is an element, and null otherwise.

MDN Reference

ui.accordion.HoopsAccordion.hasUpdated

inherited

hasUpdated: boolean

Is set to true after the first update. The element code cannot assume that renderRoot exists before the element hasUpdated.

ui.accordion.HoopsAccordion.hidden

inherited

hidden: boolean

MDN Reference

ui.accordion.HoopsAccordion.id

inherited

id: string

Returns the value of element’s id content attribute. Can be set to change it.

MDN Reference

ui.accordion.HoopsAccordion.inert

inherited

inert: boolean

MDN Reference

ui.accordion.HoopsAccordion.innerHTML

inherited

innerHTML: string

MDN Reference

ui.accordion.HoopsAccordion.innerText

inherited

innerText: string

MDN Reference

ui.accordion.HoopsAccordion.inputMode

inherited

inputMode: string

MDN Reference

ui.accordion.HoopsAccordion.isConnected

readonly inherited

isConnected: boolean

Returns true if node is connected and false otherwise.

MDN Reference

ui.accordion.HoopsAccordion.isContentEditable

readonly inherited

isContentEditable: boolean

MDN Reference

ui.accordion.HoopsAccordion.isUpdatePending

inherited

isUpdatePending: boolean

True if there is a pending update as a result of calling requestUpdate(). Should only be read.

ui.accordion.HoopsAccordion.lang

inherited

lang: string

MDN Reference

ui.accordion.HoopsAccordion.lastChild

readonly inherited

lastChild: (None | ChildNode)

Returns the last child.

MDN Reference

ui.accordion.HoopsAccordion.lastElementChild

readonly inherited

lastElementChild: (None | Element)

Returns the last child that is an element, and null otherwise.

MDN Reference

ui.accordion.HoopsAccordion.localName

readonly inherited

localName: string

Returns the local name.

MDN Reference

ui.accordion.HoopsAccordion.namespaceURI

readonly inherited

namespaceURI: (None | string)

Returns the namespace.

MDN Reference

ui.accordion.HoopsAccordion.nextElementSibling

readonly inherited

nextElementSibling: (None | Element)

Returns the first following sibling that is an element, and null otherwise.

MDN Reference

ui.accordion.HoopsAccordion.nextSibling

readonly inherited

nextSibling: (None | ChildNode)

Returns the next sibling.

MDN Reference

ui.accordion.HoopsAccordion.nodeName

readonly inherited

nodeName: string

Returns a string appropriate for the type of node.

MDN Reference

ui.accordion.HoopsAccordion.nodeType

readonly inherited

nodeType: number

Returns the type of node.

MDN Reference

ui.accordion.HoopsAccordion.nodeValue

inherited

nodeValue: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.NOTATION_NODE

readonly inherited

NOTATION_NODE: 12
ui.accordion.HoopsAccordion.offsetHeight

readonly inherited

offsetHeight: number

MDN Reference

ui.accordion.HoopsAccordion.offsetLeft

readonly inherited

offsetLeft: number

MDN Reference

ui.accordion.HoopsAccordion.offsetParent

readonly inherited

offsetParent: (None | Element)

MDN Reference

ui.accordion.HoopsAccordion.offsetTop

readonly inherited

offsetTop: number

MDN Reference

ui.accordion.HoopsAccordion.offsetWidth

readonly inherited

offsetWidth: number

MDN Reference

ui.accordion.HoopsAccordion.onabort

inherited

onabort: (None | (this: GlobalEventHandlers, ev: UIEvent) => any)

Fires when the user aborts the download.

ui.accordion.HoopsAccordion.onanimationcancel

inherited

onanimationcancel: (None | (this: GlobalEventHandlers, ev: AnimationEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.onanimationend

inherited

onanimationend: (None | (this: GlobalEventHandlers, ev: AnimationEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.onanimationiteration

inherited

onanimationiteration: (None | (this: GlobalEventHandlers, ev: AnimationEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.onanimationstart

inherited

onanimationstart: (None | (this: GlobalEventHandlers, ev: AnimationEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.onauxclick

inherited

onauxclick: (None | (this: GlobalEventHandlers, ev: MouseEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.onbeforeinput

inherited

onbeforeinput: (None | (this: GlobalEventHandlers, ev: InputEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.onbeforetoggle

inherited

onbeforetoggle: (None | (this: GlobalEventHandlers, ev: Event) => any)

MDN Reference

ui.accordion.HoopsAccordion.onblur

inherited

onblur: (None | (this: GlobalEventHandlers, ev: FocusEvent) => any)

Fires when the object loses the input focus.

ui.accordion.HoopsAccordion.oncancel

inherited

oncancel: (None | (this: GlobalEventHandlers, ev: Event) => any)

MDN Reference

ui.accordion.HoopsAccordion.oncanplay

inherited

oncanplay: (None | (this: GlobalEventHandlers, ev: Event) => any)

Occurs when playback is possible, but would require further buffering.

ui.accordion.HoopsAccordion.oncanplaythrough

inherited

oncanplaythrough: (None | (this: GlobalEventHandlers, ev: Event) => any)

MDN Reference

ui.accordion.HoopsAccordion.onchange

inherited

onchange: (None | (this: GlobalEventHandlers, ev: Event) => any)

Fires when the contents of the object or selection have changed.

ui.accordion.HoopsAccordion.onclick

inherited

onclick: (None | (this: GlobalEventHandlers, ev: MouseEvent) => any)

Fires when the user clicks the left mouse button on the object

ui.accordion.HoopsAccordion.onclose

inherited

onclose: (None | (this: GlobalEventHandlers, ev: Event) => any)

MDN Reference

ui.accordion.HoopsAccordion.oncontextlost

inherited

oncontextlost: (None | (this: GlobalEventHandlers, ev: Event) => any)

MDN Reference

ui.accordion.HoopsAccordion.oncontextmenu

inherited

oncontextmenu: (None | (this: GlobalEventHandlers, ev: MouseEvent) => any)

Fires when the user clicks the right mouse button in the client area, opening the context menu.

ui.accordion.HoopsAccordion.oncontextrestored

inherited

oncontextrestored: (None | (this: GlobalEventHandlers, ev: Event) => any)

MDN Reference

ui.accordion.HoopsAccordion.oncopy

inherited

oncopy: (None | (this: GlobalEventHandlers, ev: ClipboardEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.oncuechange

inherited

oncuechange: (None | (this: GlobalEventHandlers, ev: Event) => any)

MDN Reference

ui.accordion.HoopsAccordion.oncut

inherited

oncut: (None | (this: GlobalEventHandlers, ev: ClipboardEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.ondblclick

inherited

ondblclick: (None | (this: GlobalEventHandlers, ev: MouseEvent) => any)

Fires when the user double-clicks the object.

ui.accordion.HoopsAccordion.ondrag

inherited

ondrag: (None | (this: GlobalEventHandlers, ev: DragEvent) => any)

Fires on the source object continuously during a drag operation.

ui.accordion.HoopsAccordion.ondragend

inherited

ondragend: (None | (this: GlobalEventHandlers, ev: DragEvent) => any)

Fires on the source object when the user releases the mouse at the close of a drag operation.

ui.accordion.HoopsAccordion.ondragenter

inherited

ondragenter: (None | (this: GlobalEventHandlers, ev: DragEvent) => any)

Fires on the target element when the user drags the object to a valid drop target.

ui.accordion.HoopsAccordion.ondragleave

inherited

ondragleave: (None | (this: GlobalEventHandlers, ev: DragEvent) => any)

Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.

ui.accordion.HoopsAccordion.ondragover

inherited

ondragover: (None | (this: GlobalEventHandlers, ev: DragEvent) => any)

Fires on the target element continuously while the user drags the object over a valid drop target.

ui.accordion.HoopsAccordion.ondragstart

inherited

ondragstart: (None | (this: GlobalEventHandlers, ev: DragEvent) => any)

Fires on the source object when the user starts to drag a text selection or selected object.

ui.accordion.HoopsAccordion.ondrop

inherited

ondrop: (None | (this: GlobalEventHandlers, ev: DragEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.ondurationchange

inherited

ondurationchange: (None | (this: GlobalEventHandlers, ev: Event) => any)

Occurs when the duration attribute is updated.

ui.accordion.HoopsAccordion.onemptied

inherited

onemptied: (None | (this: GlobalEventHandlers, ev: Event) => any)

Occurs when the media element is reset to its initial state.

ui.accordion.HoopsAccordion.onended

inherited

onended: (None | (this: GlobalEventHandlers, ev: Event) => any)

Occurs when the end of playback is reached.

ui.accordion.HoopsAccordion.onerror

inherited

onerror: OnErrorEventHandler

Fires when an error occurs during object loading.

ui.accordion.HoopsAccordion.onfocus

inherited

onfocus: (None | (this: GlobalEventHandlers, ev: FocusEvent) => any)

Fires when the object receives focus.

ui.accordion.HoopsAccordion.onformdata

inherited

onformdata: (None | (this: GlobalEventHandlers, ev: FormDataEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.onfullscreenchange

inherited

onfullscreenchange: (None | (this: Element, ev: Event) => any)

MDN Reference

ui.accordion.HoopsAccordion.onfullscreenerror

inherited

onfullscreenerror: (None | (this: Element, ev: Event) => any)

MDN Reference

ui.accordion.HoopsAccordion.ongotpointercapture

inherited

ongotpointercapture: (None | (this: GlobalEventHandlers, ev: PointerEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.oninput

inherited

oninput: (None | (this: GlobalEventHandlers, ev: Event) => any)

MDN Reference

ui.accordion.HoopsAccordion.oninvalid

inherited

oninvalid: (None | (this: GlobalEventHandlers, ev: Event) => any)

MDN Reference

ui.accordion.HoopsAccordion.onkeydown

inherited

onkeydown: (None | (this: GlobalEventHandlers, ev: KeyboardEvent) => any)

Fires when the user presses a key.

ui.accordion.HoopsAccordion.onkeypress

inherited deprecated

onkeypress: (None | (this: GlobalEventHandlers, ev: KeyboardEvent) => any)

Fires when the user presses an alphanumeric key.

Deprecated

ui.accordion.HoopsAccordion.onkeyup

inherited

onkeyup: (None | (this: GlobalEventHandlers, ev: KeyboardEvent) => any)

Fires when the user releases a key.

ui.accordion.HoopsAccordion.onload

inherited

onload: (None | (this: GlobalEventHandlers, ev: Event) => any)

Fires immediately after the browser loads the object.

ui.accordion.HoopsAccordion.onloadeddata

inherited

onloadeddata: (None | (this: GlobalEventHandlers, ev: Event) => any)

Occurs when media data is loaded at the current playback position.

ui.accordion.HoopsAccordion.onloadedmetadata

inherited

onloadedmetadata: (None | (this: GlobalEventHandlers, ev: Event) => any)

Occurs when the duration and dimensions of the media have been determined.

ui.accordion.HoopsAccordion.onloadstart

inherited

onloadstart: (None | (this: GlobalEventHandlers, ev: Event) => any)

Occurs when Internet Explorer begins looking for media data.

ui.accordion.HoopsAccordion.onlostpointercapture

inherited

onlostpointercapture: (None | (this: GlobalEventHandlers, ev: PointerEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.onmousedown

inherited

onmousedown: (None | (this: GlobalEventHandlers, ev: MouseEvent) => any)

Fires when the user clicks the object with either mouse button.

ui.accordion.HoopsAccordion.onmouseenter

inherited

onmouseenter: (None | (this: GlobalEventHandlers, ev: MouseEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.onmouseleave

inherited

onmouseleave: (None | (this: GlobalEventHandlers, ev: MouseEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.onmousemove

inherited

onmousemove: (None | (this: GlobalEventHandlers, ev: MouseEvent) => any)

Fires when the user moves the mouse over the object.

ui.accordion.HoopsAccordion.onmouseout

inherited

onmouseout: (None | (this: GlobalEventHandlers, ev: MouseEvent) => any)

Fires when the user moves the mouse pointer outside the boundaries of the object.

ui.accordion.HoopsAccordion.onmouseover

inherited

onmouseover: (None | (this: GlobalEventHandlers, ev: MouseEvent) => any)

Fires when the user moves the mouse pointer into the object.

ui.accordion.HoopsAccordion.onmouseup

inherited

onmouseup: (None | (this: GlobalEventHandlers, ev: MouseEvent) => any)

Fires when the user releases a mouse button while the mouse is over the object.

ui.accordion.HoopsAccordion.onpaste

inherited

onpaste: (None | (this: GlobalEventHandlers, ev: ClipboardEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.onpause

inherited

onpause: (None | (this: GlobalEventHandlers, ev: Event) => any)

Occurs when playback is paused.

ui.accordion.HoopsAccordion.onplay

inherited

onplay: (None | (this: GlobalEventHandlers, ev: Event) => any)

Occurs when the play method is requested.

ui.accordion.HoopsAccordion.onplaying

inherited

onplaying: (None | (this: GlobalEventHandlers, ev: Event) => any)

Occurs when the audio or video has started playing.

ui.accordion.HoopsAccordion.onpointercancel

inherited

onpointercancel: (None | (this: GlobalEventHandlers, ev: PointerEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.onpointerdown

inherited

onpointerdown: (None | (this: GlobalEventHandlers, ev: PointerEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.onpointerenter

inherited

onpointerenter: (None | (this: GlobalEventHandlers, ev: PointerEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.onpointerleave

inherited

onpointerleave: (None | (this: GlobalEventHandlers, ev: PointerEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.onpointermove

inherited

onpointermove: (None | (this: GlobalEventHandlers, ev: PointerEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.onpointerout

inherited

onpointerout: (None | (this: GlobalEventHandlers, ev: PointerEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.onpointerover

inherited

onpointerover: (None | (this: GlobalEventHandlers, ev: PointerEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.onpointerup

inherited

onpointerup: (None | (this: GlobalEventHandlers, ev: PointerEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.onprogress

inherited

onprogress: (None | (this: GlobalEventHandlers, ev: ProgressEvent) => any)

Occurs to indicate progress while downloading media data.

ui.accordion.HoopsAccordion.onratechange

inherited

onratechange: (None | (this: GlobalEventHandlers, ev: Event) => any)

Occurs when the playback rate is increased or decreased.

ui.accordion.HoopsAccordion.onreset

inherited

onreset: (None | (this: GlobalEventHandlers, ev: Event) => any)

Fires when the user resets a form.

ui.accordion.HoopsAccordion.onresize

inherited

onresize: (None | (this: GlobalEventHandlers, ev: UIEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.onscroll

inherited

onscroll: (None | (this: GlobalEventHandlers, ev: Event) => any)

Fires when the user repositions the scroll box in the scroll bar on the object.

ui.accordion.HoopsAccordion.onscrollend

inherited

onscrollend: (None | (this: GlobalEventHandlers, ev: Event) => any)

MDN Reference

ui.accordion.HoopsAccordion.onsecuritypolicyviolation

inherited

onsecuritypolicyviolation: (None | (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.onseeked

inherited

onseeked: (None | (this: GlobalEventHandlers, ev: Event) => any)

Occurs when the seek operation ends.

ui.accordion.HoopsAccordion.onseeking

inherited

onseeking: (None | (this: GlobalEventHandlers, ev: Event) => any)

Occurs when the current playback position is moved.

ui.accordion.HoopsAccordion.onselect

inherited

onselect: (None | (this: GlobalEventHandlers, ev: Event) => any)

Fires when the current selection changes.

ui.accordion.HoopsAccordion.onselectionchange

inherited

onselectionchange: (None | (this: GlobalEventHandlers, ev: Event) => any)

MDN Reference

ui.accordion.HoopsAccordion.onselectstart

inherited

onselectstart: (None | (this: GlobalEventHandlers, ev: Event) => any)

MDN Reference

ui.accordion.HoopsAccordion.onslotchange

inherited

onslotchange: (None | (this: GlobalEventHandlers, ev: Event) => any)

MDN Reference

ui.accordion.HoopsAccordion.onstalled

inherited

onstalled: (None | (this: GlobalEventHandlers, ev: Event) => any)

Occurs when the download has stopped.

ui.accordion.HoopsAccordion.onsubmit

inherited

onsubmit: (None | (this: GlobalEventHandlers, ev: SubmitEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.onsuspend

inherited

onsuspend: (None | (this: GlobalEventHandlers, ev: Event) => any)

Occurs if the load operation has been intentionally halted.

ui.accordion.HoopsAccordion.ontimeupdate

inherited

ontimeupdate: (None | (this: GlobalEventHandlers, ev: Event) => any)

Occurs to indicate the current playback position.

ui.accordion.HoopsAccordion.ontoggle

inherited

ontoggle: (None | (this: GlobalEventHandlers, ev: Event) => any)

MDN Reference

ui.accordion.HoopsAccordion.ontransitioncancel

inherited

ontransitioncancel: (None | (this: GlobalEventHandlers, ev: TransitionEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.ontransitionend

inherited

ontransitionend: (None | (this: GlobalEventHandlers, ev: TransitionEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.ontransitionrun

inherited

ontransitionrun: (None | (this: GlobalEventHandlers, ev: TransitionEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.ontransitionstart

inherited

ontransitionstart: (None | (this: GlobalEventHandlers, ev: TransitionEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.onvolumechange

inherited

onvolumechange: (None | (this: GlobalEventHandlers, ev: Event) => any)

Occurs when the volume is changed, or playback is muted or unmuted.

ui.accordion.HoopsAccordion.onwaiting

inherited

onwaiting: (None | (this: GlobalEventHandlers, ev: Event) => any)

Occurs when playback stops because the next frame of a video resource is not available.

ui.accordion.HoopsAccordion.onwebkitanimationend

inherited deprecated

onwebkitanimationend: (None | (this: GlobalEventHandlers, ev: Event) => any)

Deprecated

This is a legacy alias of onanimationend.

MDN Reference

ui.accordion.HoopsAccordion.onwebkitanimationiteration

inherited deprecated

onwebkitanimationiteration: (None | (this: GlobalEventHandlers, ev: Event) => any)

Deprecated

This is a legacy alias of onanimationiteration.

MDN Reference

ui.accordion.HoopsAccordion.onwebkitanimationstart

inherited deprecated

onwebkitanimationstart: (None | (this: GlobalEventHandlers, ev: Event) => any)

Deprecated

This is a legacy alias of onanimationstart.

MDN Reference

ui.accordion.HoopsAccordion.onwebkittransitionend

inherited deprecated

onwebkittransitionend: (None | (this: GlobalEventHandlers, ev: Event) => any)

Deprecated

This is a legacy alias of ontransitionend.

MDN Reference

ui.accordion.HoopsAccordion.onwheel

inherited

onwheel: (None | (this: GlobalEventHandlers, ev: WheelEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.outerHTML

inherited

outerHTML: string

MDN Reference

ui.accordion.HoopsAccordion.outerText

inherited

outerText: string

MDN Reference

ui.accordion.HoopsAccordion.ownerDocument

readonly inherited

ownerDocument: Document

Returns the node document. Returns null for documents.

MDN Reference

ui.accordion.HoopsAccordion.parentElement

readonly inherited

parentElement: (None | HTMLElement)

Returns the parent element.

MDN Reference

ui.accordion.HoopsAccordion.parentNode

readonly inherited

parentNode: (None | ParentNode)

Returns the parent.

MDN Reference

ui.accordion.HoopsAccordion.part

readonly inherited

part: DOMTokenList

MDN Reference

ui.accordion.HoopsAccordion.popover

inherited

popover: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.prefix

readonly inherited

prefix: (None | string)

Returns the namespace prefix.

MDN Reference

ui.accordion.HoopsAccordion.previousElementSibling

readonly inherited

previousElementSibling: (None | Element)

Returns the first preceding sibling that is an element, and null otherwise.

MDN Reference

ui.accordion.HoopsAccordion.previousSibling

readonly inherited

previousSibling: (None | ChildNode)

Returns the previous sibling.

MDN Reference

ui.accordion.HoopsAccordion.PROCESSING_INSTRUCTION_NODE

readonly inherited

PROCESSING_INSTRUCTION_NODE: 7

node is a ProcessingInstruction node.

ui.accordion.HoopsAccordion.renderOptions

readonly inherited

renderOptions: RenderOptions
ui.accordion.HoopsAccordion.renderRoot

readonly inherited

renderRoot: (HTMLElement | DocumentFragment)

Node or ShadowRoot into which element DOM should be rendered. Defaults to an open shadowRoot.

ui.accordion.HoopsAccordion.role

inherited

role: (None | string)
ui.accordion.HoopsAccordion.scrollHeight

readonly inherited

scrollHeight: number

MDN Reference

ui.accordion.HoopsAccordion.scrollLeft

inherited

scrollLeft: number

MDN Reference

ui.accordion.HoopsAccordion.scrollTop

inherited

scrollTop: number

MDN Reference

ui.accordion.HoopsAccordion.scrollWidth

readonly inherited

scrollWidth: number

MDN Reference

ui.accordion.HoopsAccordion.shadowRoot

readonly inherited

shadowRoot: (None | ShadowRoot)

Returns element’s shadow root, if any, and if shadow root’s mode is “open”, and null otherwise.

MDN Reference

ui.accordion.HoopsAccordion.slot

inherited

slot: string

Returns the value of element’s slot content attribute. Can be set to change it.

MDN Reference

ui.accordion.HoopsAccordion.spellcheck

inherited

spellcheck: boolean

MDN Reference

ui.accordion.HoopsAccordion.style

readonly inherited

style: CSSStyleDeclaration

MDN Reference

ui.accordion.HoopsAccordion.tabIndex

inherited

tabIndex: number

MDN Reference

ui.accordion.HoopsAccordion.tagName

readonly inherited

tagName: string

Returns the HTML-uppercased qualified name.

MDN Reference

ui.accordion.HoopsAccordion.TEXT_NODE

readonly inherited

TEXT_NODE: 3

node is a Text node.

ui.accordion.HoopsAccordion.textContent

inherited

textContent: (None | string)

MDN Reference

ui.accordion.HoopsAccordion.title

inherited

title: string

MDN Reference

ui.accordion.HoopsAccordion.translate

inherited

translate: boolean

MDN Reference

ui.accordion.HoopsAccordion.writingSuggestions

inherited

writingSuggestions: string
ui.accordion.HoopsAccordion.level

optional

level: number
ui.accordion.HoopsAccordion.nonce

optional inherited

nonce: string

MDN Reference

ui.accordion.HoopsAccordion.ontouchcancel

optional inherited

ontouchcancel: (None | (this: GlobalEventHandlers, ev: TouchEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.ontouchend

optional inherited

ontouchend: (None | (this: GlobalEventHandlers, ev: TouchEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.ontouchmove

optional inherited

ontouchmove: (None | (this: GlobalEventHandlers, ev: TouchEvent) => any)

MDN Reference

ui.accordion.HoopsAccordion.ontouchstart

optional inherited

ontouchstart: (None | (this: GlobalEventHandlers, ev: TouchEvent) => any)

MDN Reference

Accessors

ui.accordion.HoopsAccordion.observedAttributes()

static inherited

get observedAttributes(): string[]

Returns a list of attributes corresponding to the registered properties.

Returns: string[]

ui.accordion.HoopsAccordion.updateComplete()

inherited

get updateComplete(): Promise

Returns a Promise that resolves when the element has completed updating. The Promise value is a boolean that is true if the element completed the update without triggering another update. The Promise result is false if a property was set inside updated(). If the Promise is rejected, an exception was thrown during the update.

To await additional asynchronous work, override the getUpdateComplete method. For example, it is sometimes useful to await a rendered element before fulfilling this Promise. To do this, first await super.getUpdateComplete(), then any subsequent state.

Returns: Promise

A promise of a boolean that resolves to true if the update completed without triggering another update.

Methods

static ui.accordion.HoopsAccordion.addInitializer()

static inherited

addInitializer(initializer: Initializer): void

Adds an initializer function to the class that is called during instance construction.

This is useful for code that runs against a ReactiveElement subclass, such as a decorator, that needs to do work for each instance, such as setting up a ReactiveController.

const myDecorator = (target: typeof ReactiveElement, key: string) => {
  target.addInitializer((instance: ReactiveElement) => {
    // This is run during construction of the element
    new MyController(instance);
  });
}

Decorating a field will then cause each instance to run an initializer that adds a controller:

class MyElement extends LitElement {
  @myDecorator foo;
}

Initializers are stored per-constructor. Adding an initializer to a subclass does not add it to a superclass. Since initializers are run in constructors, initializers will run in order of the class hierarchy, starting with superclasses and progressing to the instance’s class.

Parameters

initializer: Initializer

Returns: void

static ui.accordion.HoopsAccordion.createProperty()

static inherited

createProperty(name: PropertyKey, options: PropertyDeclaration): void

Creates a property accessor on the element prototype if one does not exist and stores a ? for the property with the given options. The property setter calls the property’s hasChanged property option or uses a strict identity check to determine whether or not to request an update.

This method may be overridden to customize properties; however, when doing so, it’s important to call super.createProperty to ensure the property is setup correctly. This method calls getPropertyDescriptor internally to get a descriptor to install. To customize what properties do when they are get or set, override getPropertyDescriptor. To customize the options for a property, implement createProperty like this:

static createProperty(name, options) {
  options = Object.assign(options, {myOption: true});
  super.createProperty(name, options);
}

Parameters

name: PropertyKey

options: PropertyDeclaration

Returns: void

static ui.accordion.HoopsAccordion.getPropertyOptions()

static inherited

getPropertyOptions(name: PropertyKey): PropertyDeclaration

Returns the property options associated with the given property. These options are defined with a PropertyDeclaration via the properties object or the @property decorator and are registered in createProperty(...).

Note, this method should be considered “final” and not overridden. To customize the options for a given property, override ?.

Parameters

name: PropertyKey

Returns: PropertyDeclaration

static ui.accordion.HoopsAccordion.finalize()

static inherited

finalize(): void

Finishes setting up the class so that it’s ready to be registered as a custom element and instantiated.

This method is called by the ReactiveElement.observedAttributes getter. If you override the observedAttributes getter, you must either call super.observedAttributes to trigger finalization, or call finalize() yourself.

Returns: void

static ui.accordion.HoopsAccordion.finalizeStyles()

static inherited

finalizeStyles(styles: CSSResultGroup): CSSResultOrNative[]

Takes the styles the user supplied via the static styles property and returns the array of styles to apply to the element. Override this method to integrate into a style management system.

Styles are deduplicated preserving the last instance in the list. This is a performance optimization to avoid duplicated styles that can occur especially when composing via subclassing. The last item is kept to try to preserve the cascade order with the assumption that it’s most important that last added styles override previous styles.

Parameters

styles: CSSResultGroup

Returns: CSSResultOrNative[]

static ui.accordion.HoopsAccordion.getPropertyDescriptor()

static inherited

getPropertyDescriptor(name: PropertyKey, key: (string | symbol), options: PropertyDeclaration): (undefined | PropertyDescriptor)

Returns a property descriptor to be defined on the given named property. If no descriptor is returned, the property will not become an accessor. For example,

class MyElement extends LitElement {
  static getPropertyDescriptor(name, key, options) {
    const defaultDescriptor =
        super.getPropertyDescriptor(name, key, options);
    const setter = defaultDescriptor.set;
    return {
      get: defaultDescriptor.get,
      set(value) {
        setter.call(this, value);
        // custom action.
      },
      configurable: true,
      enumerable: true
    }
  }
}

Parameters

name: PropertyKey

key: (string | symbol)

options: PropertyDeclaration

Returns: (undefined | PropertyDescriptor)

ui.accordion.HoopsAccordion.addController()

inherited

addController(controller: ReactiveController): void

Registers a ReactiveController to participate in the element’s reactive update cycle. The element automatically calls into any registered controllers during its lifecycle callbacks.

If the element is connected when addController() is called, the controller’s hostConnected() callback will be immediately called.

Parameters

controller: ReactiveController

Returns: void

ui.accordion.HoopsAccordion.addEventListener()

inherited

addEventListener(type: K, listener: (this: HTMLElement, ev: Unhandled type IndexedAccess) => any, options: (boolean | AddEventListenerOptions)): void

Parameters

type: K

listener: (this: HTMLElement, ev: Unhandled type IndexedAccess) => any

options: (boolean | AddEventListenerOptions)

Returns: void

addEventListener(type: string, listener: EventListenerOrEventListenerObject, options: (boolean | AddEventListenerOptions)): void

Parameters

type: string

listener: EventListenerOrEventListenerObject

options: (boolean | AddEventListenerOptions)

Returns: void

ui.accordion.HoopsAccordion.after()

inherited

after(nodes: (string | Node)[]): void

Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes.

Throws a “HierarchyRequestError” DOMException if the constraints of the node tree are violated.

MDN Reference

Parameters

nodes: (string | Node)[]

Returns: void

ui.accordion.HoopsAccordion.animate()

inherited

animate(keyframes: (None | Keyframe[] | PropertyIndexedKeyframes), options: (number | KeyframeAnimationOptions)): Animation

MDN Reference

Parameters

keyframes: (None | Keyframe[] | PropertyIndexedKeyframes)

options: (number | KeyframeAnimationOptions)

Returns: Animation

ui.accordion.HoopsAccordion.append()

inherited

append(nodes: (string | Node)[]): void

Inserts nodes after the last child of node, while replacing strings in nodes with equivalent Text nodes.

Throws a “HierarchyRequestError” DOMException if the constraints of the node tree are violated.

MDN Reference

Parameters

nodes: (string | Node)[]

Returns: void

ui.accordion.HoopsAccordion.appendChild()

inherited

appendChild(node: T): T

MDN Reference

Parameters

node: T

Returns: T

ui.accordion.HoopsAccordion.attachInternals()

inherited

attachInternals(): ElementInternals

MDN Reference

Returns: ElementInternals

ui.accordion.HoopsAccordion.attachShadow()

inherited

attachShadow(init: ShadowRootInit): ShadowRoot

Creates a shadow root for element and returns it.

MDN Reference

Parameters

init: ShadowRootInit

Returns: ShadowRoot

ui.accordion.HoopsAccordion.attributeChangedCallback()

inherited

attributeChangedCallback(name: string, _old: (None | string), value: (None | string)): void

Synchronizes property values when attributes change.

Specifically, when an attribute is set, the corresponding property is set. You should rarely need to implement this callback. If this method is overridden, super.attributeChangedCallback(name, _old, value) must be called.

See using the lifecycle callbacks on MDN for more information about the attributeChangedCallback.

Parameters

name: string

_old: (None | string)

value: (None | string)

Returns: void

ui.accordion.HoopsAccordion.before()

inherited

before(nodes: (string | Node)[]): void

Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes.

Throws a “HierarchyRequestError” DOMException if the constraints of the node tree are violated.

MDN Reference

Parameters

nodes: (string | Node)[]

Returns: void

ui.accordion.HoopsAccordion.blur()

inherited

blur(): void

MDN Reference

Returns: void

ui.accordion.HoopsAccordion.checkVisibility()

inherited

checkVisibility(options: CheckVisibilityOptions): boolean

MDN Reference

Parameters

options: CheckVisibilityOptions

Returns: boolean

ui.accordion.HoopsAccordion.click()

inherited

click(): void

MDN Reference

Returns: void

ui.accordion.HoopsAccordion.cloneNode()

inherited

cloneNode(deep: boolean): Node

Returns a copy of node. If deep is true, the copy also includes the node’s descendants.

MDN Reference

Parameters

deep: boolean

Returns: Node

ui.accordion.HoopsAccordion.closest()

inherited

closest(selector: K): (None | Unhandled type IndexedAccess)

Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise.

MDN Reference

Parameters

selector: K

Returns: (None | Unhandled type IndexedAccess)

closest(selector: K): (None | Unhandled type IndexedAccess)

Parameters

selector: K

Returns: (None | Unhandled type IndexedAccess)

closest(selector: K): (None | Unhandled type IndexedAccess)

Parameters

selector: K

Returns: (None | Unhandled type IndexedAccess)

closest(selectors: string): (None | E)

Parameters

selectors: string

Returns: (None | E)

ui.accordion.HoopsAccordion.compareDocumentPosition()

inherited

compareDocumentPosition(other: Node): number

Returns a bitmask indicating the position of other relative to node.

MDN Reference

Parameters

other: Node

Returns: number

ui.accordion.HoopsAccordion.computedStyleMap()

inherited

computedStyleMap(): StylePropertyMapReadOnly

MDN Reference

Returns: StylePropertyMapReadOnly

ui.accordion.HoopsAccordion.connectedCallback()

inherited

connectedCallback(): void

Invoked when the component is added to the document’s DOM.

In connectedCallback() you should setup tasks that should only occur when the element is connected to the document. The most common of these is adding event listeners to nodes external to the element, like a keydown event handler added to the window.

connectedCallback() {
  super.connectedCallback();
  addEventListener('keydown', this._handleKeydown);
}

Typically, anything done in connectedCallback() should be undone when the element is disconnected, in disconnectedCallback().

Returns: void

ui.accordion.HoopsAccordion.contains()

inherited

contains(other: (None | Node)): boolean

Returns true if other is an inclusive descendant of node, and false otherwise.

MDN Reference

Parameters

other: (None | Node)

Returns: boolean

ui.accordion.HoopsAccordion.disconnectedCallback()

inherited

disconnectedCallback(): void

Invoked when the component is removed from the document’s DOM.

This callback is the main signal to the element that it may no longer be used. disconnectedCallback() should ensure that nothing is holding a reference to the element (such as event listeners added to nodes external to the element), so that it is free to be garbage collected.

disconnectedCallback() {
  super.disconnectedCallback();
  window.removeEventListener('keydown', this._handleKeydown);
}

An element may be re-connected after being disconnected.

Returns: void

ui.accordion.HoopsAccordion.dispatchEvent()

inherited

dispatchEvent(event: Event): boolean

Dispatches a synthetic event event to target and returns true if either event’s cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

MDN Reference

Parameters

event: Event

Returns: boolean

ui.accordion.HoopsAccordion.focus()

inherited

focus(options: FocusOptions): void

MDN Reference

Parameters

options: FocusOptions

Returns: void

ui.accordion.HoopsAccordion.getAnimations()

inherited

getAnimations(options: GetAnimationsOptions): Animation[]

MDN Reference

Parameters

options: GetAnimationsOptions

Returns: Animation[]

ui.accordion.HoopsAccordion.getAttribute()

inherited

getAttribute(qualifiedName: string): (None | string)

Returns element’s first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise.

MDN Reference

Parameters

qualifiedName: string

Returns: (None | string)

ui.accordion.HoopsAccordion.getAttributeNames()

inherited

getAttributeNames(): string[]

Returns the qualified names of all element’s attributes. Can contain duplicates.

MDN Reference

Returns: string[]

ui.accordion.HoopsAccordion.getAttributeNode()

inherited

getAttributeNode(qualifiedName: string): (None | Attr)

MDN Reference

Parameters

qualifiedName: string

Returns: (None | Attr)

ui.accordion.HoopsAccordion.getAttributeNodeNS()

inherited

getAttributeNodeNS(namespace: (None | string), localName: string): (None | Attr)

MDN Reference

Parameters

namespace: (None | string)

localName: string

Returns: (None | Attr)

ui.accordion.HoopsAccordion.getAttributeNS()

inherited

getAttributeNS(namespace: (None | string), localName: string): (None | string)

Returns element’s attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise.

MDN Reference

Parameters

namespace: (None | string)

localName: string

Returns: (None | string)

ui.accordion.HoopsAccordion.getBoundingClientRect()

inherited

getBoundingClientRect(): DOMRect

MDN Reference

Returns: DOMRect

ui.accordion.HoopsAccordion.getClientRects()

inherited

getClientRects(): DOMRectList

MDN Reference

Returns: DOMRectList

ui.accordion.HoopsAccordion.getElementsByClassName()

inherited

getElementsByClassName(classNames: string): HTMLCollectionOf

Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes.

MDN Reference

Parameters

classNames: string

Returns: HTMLCollectionOf

ui.accordion.HoopsAccordion.getElementsByTagName()

inherited

getElementsByTagName(qualifiedName: K): HTMLCollectionOf

MDN Reference

Parameters

qualifiedName: K

Returns: HTMLCollectionOf

getElementsByTagName(qualifiedName: K): HTMLCollectionOf

Parameters

qualifiedName: K

Returns: HTMLCollectionOf

getElementsByTagName(qualifiedName: K): HTMLCollectionOf

Parameters

qualifiedName: K

Returns: HTMLCollectionOf

getElementsByTagName(qualifiedName: K): HTMLCollectionOf

Deprecated

Parameters

qualifiedName: K

Returns: HTMLCollectionOf

getElementsByTagName(qualifiedName: string): HTMLCollectionOf

Parameters

qualifiedName: string

Returns: HTMLCollectionOf

ui.accordion.HoopsAccordion.getElementsByTagNameNS()

inherited

getElementsByTagNameNS(namespaceURI: “http://www.w3.org/1999/xhtml”, localName: string): HTMLCollectionOf

MDN Reference

Parameters

namespaceURI: “http://www.w3.org/1999/xhtml”

localName: string

Returns: HTMLCollectionOf

getElementsByTagNameNS(namespaceURI: “http://www.w3.org/2000/svg”, localName: string): HTMLCollectionOf

Parameters

namespaceURI: “http://www.w3.org/2000/svg”

localName: string

Returns: HTMLCollectionOf

getElementsByTagNameNS(namespaceURI: “http://www.w3.org/1998/Math/MathML”, localName: string): HTMLCollectionOf

Parameters

namespaceURI: “http://www.w3.org/1998/Math/MathML”

localName: string

Returns: HTMLCollectionOf

getElementsByTagNameNS(namespace: (None | string), localName: string): HTMLCollectionOf

Parameters

namespace: (None | string)

localName: string

Returns: HTMLCollectionOf

ui.accordion.HoopsAccordion.getHTML()

inherited

getHTML(options: GetHTMLOptions): string

MDN Reference

Parameters

options: GetHTMLOptions

Returns: string

ui.accordion.HoopsAccordion.getRootNode()

inherited

getRootNode(options: GetRootNodeOptions): Node

Returns node’s root.

MDN Reference

Parameters

options: GetRootNodeOptions

Returns: Node

ui.accordion.HoopsAccordion.hasAttribute()

inherited

hasAttribute(qualifiedName: string): boolean

Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise.

MDN Reference

Parameters

qualifiedName: string

Returns: boolean

ui.accordion.HoopsAccordion.hasAttributeNS()

inherited

hasAttributeNS(namespace: (None | string), localName: string): boolean

Returns true if element has an attribute whose namespace is namespace and local name is localName.

MDN Reference

Parameters

namespace: (None | string)

localName: string

Returns: boolean

ui.accordion.HoopsAccordion.hasAttributes()

inherited

hasAttributes(): boolean

Returns true if element has attributes, and false otherwise.

MDN Reference

Returns: boolean

ui.accordion.HoopsAccordion.hasChildNodes()

inherited

hasChildNodes(): boolean

Returns whether node has children.

MDN Reference

Returns: boolean

ui.accordion.HoopsAccordion.hasPointerCapture()

inherited

hasPointerCapture(pointerId: number): boolean

MDN Reference

Parameters

pointerId: number

Returns: boolean

ui.accordion.HoopsAccordion.hidePopover()

inherited

hidePopover(): void

MDN Reference

Returns: void

ui.accordion.HoopsAccordion.insertAdjacentElement()

inherited

insertAdjacentElement(where: InsertPosition, element: Element): (None | Element)

MDN Reference

Parameters

where: InsertPosition

element: Element

Returns: (None | Element)

ui.accordion.HoopsAccordion.insertAdjacentHTML()

inherited

insertAdjacentHTML(position: InsertPosition, string: string): void

MDN Reference

Parameters

position: InsertPosition

string: string

Returns: void

ui.accordion.HoopsAccordion.insertAdjacentText()

inherited

insertAdjacentText(where: InsertPosition, data: string): void

MDN Reference

Parameters

where: InsertPosition

data: string

Returns: void

ui.accordion.HoopsAccordion.insertBefore()

inherited

insertBefore(node: T, child: (None | Node)): T

MDN Reference

Parameters

node: T

child: (None | Node)

Returns: T

ui.accordion.HoopsAccordion.isDefaultNamespace()

inherited

isDefaultNamespace(namespace: (None | string)): boolean

MDN Reference

Parameters

namespace: (None | string)

Returns: boolean

ui.accordion.HoopsAccordion.isEqualNode()

inherited

isEqualNode(otherNode: (None | Node)): boolean

Returns whether node and otherNode have the same properties.

MDN Reference

Parameters

otherNode: (None | Node)

Returns: boolean

ui.accordion.HoopsAccordion.isSameNode()

inherited

isSameNode(otherNode: (None | Node)): boolean

MDN Reference

Parameters

otherNode: (None | Node)

Returns: boolean

ui.accordion.HoopsAccordion.lookupNamespaceURI()

inherited

lookupNamespaceURI(prefix: (None | string)): (None | string)

MDN Reference

Parameters

prefix: (None | string)

Returns: (None | string)

ui.accordion.HoopsAccordion.lookupPrefix()

inherited

lookupPrefix(namespace: (None | string)): (None | string)

MDN Reference

Parameters

namespace: (None | string)

Returns: (None | string)

ui.accordion.HoopsAccordion.matches()

inherited

matches(selectors: string): boolean

Returns true if matching selectors against element’s root yields element, and false otherwise.

MDN Reference

Parameters

selectors: string

Returns: boolean

ui.accordion.HoopsAccordion.normalize()

inherited

normalize(): void

Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes.

MDN Reference

Returns: void

ui.accordion.HoopsAccordion.prepend()

inherited

prepend(nodes: (string | Node)[]): void

Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.

Throws a “HierarchyRequestError” DOMException if the constraints of the node tree are violated.

MDN Reference

Parameters

nodes: (string | Node)[]

Returns: void

ui.accordion.HoopsAccordion.querySelector()

inherited

querySelector(selectors: K): (None | Unhandled type IndexedAccess)

Returns the first element that is a descendant of node that matches selectors.

MDN Reference

Parameters

selectors: K

Returns: (None | Unhandled type IndexedAccess)

querySelector(selectors: K): (None | Unhandled type IndexedAccess)

Parameters

selectors: K

Returns: (None | Unhandled type IndexedAccess)

querySelector(selectors: K): (None | Unhandled type IndexedAccess)

Parameters

selectors: K

Returns: (None | Unhandled type IndexedAccess)

querySelector(selectors: K): (None | Unhandled type IndexedAccess)

Deprecated

Parameters

selectors: K

Returns: (None | Unhandled type IndexedAccess)

querySelector(selectors: string): (None | E)

Parameters

selectors: string

Returns: (None | E)

ui.accordion.HoopsAccordion.querySelectorAll()

inherited

querySelectorAll(selectors: K): NodeListOf

Returns all element descendants of node that match selectors.

MDN Reference

Parameters

selectors: K

Returns: NodeListOf

querySelectorAll(selectors: K): NodeListOf

Parameters

selectors: K

Returns: NodeListOf

querySelectorAll(selectors: K): NodeListOf

Parameters

selectors: K

Returns: NodeListOf

querySelectorAll(selectors: K): NodeListOf

Deprecated

Parameters

selectors: K

Returns: NodeListOf

querySelectorAll(selectors: string): NodeListOf

Parameters

selectors: string

Returns: NodeListOf

ui.accordion.HoopsAccordion.releasePointerCapture()

inherited

releasePointerCapture(pointerId: number): void

MDN Reference

Parameters

pointerId: number

Returns: void

ui.accordion.HoopsAccordion.remove()

inherited

remove(): void

Removes node.

MDN Reference

Returns: void

ui.accordion.HoopsAccordion.removeAttribute()

inherited

removeAttribute(qualifiedName: string): void

Removes element’s first attribute whose qualified name is qualifiedName.

MDN Reference

Parameters

qualifiedName: string

Returns: void

ui.accordion.HoopsAccordion.removeAttributeNode()

inherited

removeAttributeNode(attr: Attr): Attr

MDN Reference

Parameters

attr: Attr

Returns: Attr

ui.accordion.HoopsAccordion.removeAttributeNS()

inherited

removeAttributeNS(namespace: (None | string), localName: string): void

Removes element’s attribute whose namespace is namespace and local name is localName.

MDN Reference

Parameters

namespace: (None | string)

localName: string

Returns: void

ui.accordion.HoopsAccordion.removeChild()

inherited

removeChild(child: T): T

MDN Reference

Parameters

child: T

Returns: T

ui.accordion.HoopsAccordion.removeController()

inherited

removeController(controller: ReactiveController): void

Removes a ReactiveController from the element.

Parameters

controller: ReactiveController

Returns: void

ui.accordion.HoopsAccordion.removeEventListener()

inherited

removeEventListener(type: K, listener: (this: HTMLElement, ev: Unhandled type IndexedAccess) => any, options: (boolean | EventListenerOptions)): void

Parameters

type: K

listener: (this: HTMLElement, ev: Unhandled type IndexedAccess) => any

options: (boolean | EventListenerOptions)

Returns: void

removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options: (boolean | EventListenerOptions)): void

Parameters

type: string

listener: EventListenerOrEventListenerObject

options: (boolean | EventListenerOptions)

Returns: void

ui.accordion.HoopsAccordion.render()
render(): TemplateResult

Invoked on each update to perform rendering tasks. This method may return any value renderable by lit-html’s ChildPart - typically a TemplateResult. Setting properties inside this method will not trigger the element to update.

Returns: TemplateResult

ui.accordion.HoopsAccordion.replaceChild()

inherited

replaceChild(node: Node, child: T): T

MDN Reference

Parameters

node: Node

child: T

Returns: T

ui.accordion.HoopsAccordion.replaceChildren()

inherited

replaceChildren(nodes: (string | Node)[]): void

Replace all children of node with nodes, while replacing strings in nodes with equivalent Text nodes.

Throws a “HierarchyRequestError” DOMException if the constraints of the node tree are violated.

MDN Reference

Parameters

nodes: (string | Node)[]

Returns: void

ui.accordion.HoopsAccordion.replaceWith()

inherited

replaceWith(nodes: (string | Node)[]): void

Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes.

Throws a “HierarchyRequestError” DOMException if the constraints of the node tree are violated.

MDN Reference

Parameters

nodes: (string | Node)[]

Returns: void

ui.accordion.HoopsAccordion.requestFullscreen()

inherited

requestFullscreen(options: FullscreenOptions): Promise

Displays element fullscreen and resolves promise when done.

When supplied, options’s navigationUI member indicates whether showing navigation UI while in fullscreen is preferred or not. If set to “show”, navigation simplicity is preferred over screen space, and if set to “hide”, more screen space is preferred. User agents are always free to honor user preference over the application’s. The default value “auto” indicates no application preference.

MDN Reference

Parameters

options: FullscreenOptions

Returns: Promise

ui.accordion.HoopsAccordion.requestPointerLock()

inherited

requestPointerLock(options: PointerLockOptions): Promise

MDN Reference

Parameters

options: PointerLockOptions

Returns: Promise

ui.accordion.HoopsAccordion.requestUpdate()

inherited

requestUpdate(name: PropertyKey, oldValue: unknown, options: PropertyDeclaration): void

Requests an update which is processed asynchronously. This should be called when an element should update based on some state not triggered by setting a reactive property. In this case, pass no arguments. It should also be called when manually implementing a property setter. In this case, pass the property name and oldValue to ensure that any configured property options are honored.

Parameters

name: PropertyKey

name of requesting property

oldValue: unknown

old value of requesting property

options: PropertyDeclaration

property options to use instead of the previously configured options

Returns: void

ui.accordion.HoopsAccordion.scroll()

inherited

scroll(options: ScrollToOptions): void

MDN Reference

Parameters

options: ScrollToOptions

Returns: void

scroll(x: number, y: number): void

Parameters

x: number

y: number

Returns: void

ui.accordion.HoopsAccordion.scrollBy()

inherited

scrollBy(options: ScrollToOptions): void

MDN Reference

Parameters

options: ScrollToOptions

Returns: void

scrollBy(x: number, y: number): void

Parameters

x: number

y: number

Returns: void

ui.accordion.HoopsAccordion.scrollIntoView()

inherited

scrollIntoView(arg: (boolean | ScrollIntoViewOptions)): void

MDN Reference

Parameters

arg: (boolean | ScrollIntoViewOptions)

Returns: void

ui.accordion.HoopsAccordion.scrollTo()

inherited

scrollTo(options: ScrollToOptions): void

MDN Reference

Parameters

options: ScrollToOptions

Returns: void

scrollTo(x: number, y: number): void

Parameters

x: number

y: number

Returns: void

ui.accordion.HoopsAccordion.setAttribute()

inherited

setAttribute(qualifiedName: string, value: string): void

Sets the value of element’s first attribute whose qualified name is qualifiedName to value.

MDN Reference

Parameters

qualifiedName: string

value: string

Returns: void

ui.accordion.HoopsAccordion.setAttributeNode()

inherited

setAttributeNode(attr: Attr): (None | Attr)

MDN Reference

Parameters

attr: Attr

Returns: (None | Attr)

ui.accordion.HoopsAccordion.setAttributeNodeNS()

inherited

setAttributeNodeNS(attr: Attr): (None | Attr)

MDN Reference

Parameters

attr: Attr

Returns: (None | Attr)

ui.accordion.HoopsAccordion.setAttributeNS()

inherited

setAttributeNS(namespace: (None | string), qualifiedName: string, value: string): void

Sets the value of element’s attribute whose namespace is namespace and local name is localName to value.

MDN Reference

Parameters

namespace: (None | string)

qualifiedName: string

value: string

Returns: void

ui.accordion.HoopsAccordion.setHTMLUnsafe()

inherited

setHTMLUnsafe(html: string): void

MDN Reference

Parameters

html: string

Returns: void

ui.accordion.HoopsAccordion.setPointerCapture()

inherited

setPointerCapture(pointerId: number): void

MDN Reference

Parameters

pointerId: number

Returns: void

ui.accordion.HoopsAccordion.showPopover()

inherited

showPopover(): void

MDN Reference

Returns: void

ui.accordion.HoopsAccordion.toggleAttribute()

inherited

toggleAttribute(qualifiedName: string, force: boolean): boolean

If force is not given, “toggles” qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName.

Returns true if qualifiedName is now present, and false otherwise.

MDN Reference

Parameters

qualifiedName: string

force: boolean

Returns: boolean

ui.accordion.HoopsAccordion.togglePopover()

inherited

togglePopover(force: boolean): boolean

MDN Reference

Parameters

force: boolean

Returns: boolean

ui.accordion.HoopsAccordion.webkitMatchesSelector()

inherited

webkitMatchesSelector(selectors: string): boolean

Deprecated

This is a legacy alias of matches.

MDN Reference

Parameters

selectors: string

Returns: boolean

ui.accordion.HoopsAccordion.createRenderRoot()

inherited

createRenderRoot(): (HTMLElement | DocumentFragment)

Returns: (HTMLElement | DocumentFragment)

ui.accordion.HoopsAccordion.enableUpdating()

inherited

enableUpdating(_requestedUpdate: boolean): void

Note, this method should be considered final and not overridden. It is overridden on the element instance with a function that triggers the first update.

Parameters

_requestedUpdate: boolean

Returns: void

ui.accordion.HoopsAccordion.firstUpdated()

inherited

firstUpdated(_changedProperties: (PropertyValueMap | Map)): void

Invoked when the element is first updated. Implement to perform one time work on the element after update.

firstUpdated() {
  this.renderRoot.getElementById('my-text-area').focus();
}

Setting properties inside this method will trigger the element to update again after this update cycle completes.

Parameters

_changedProperties: (PropertyValueMap | Map)

Map of changed properties with old values

Returns: void

ui.accordion.HoopsAccordion.getUpdateComplete()

inherited

getUpdateComplete(): Promise

Override point for the updateComplete promise.

It is not safe to override the updateComplete getter directly due to a limitation in TypeScript which means it is not possible to call a superclass getter (e.g. super.updateComplete.then(...)) when the target language is ES5 (https://github.com/microsoft/TypeScript/issues/338). This method should be overridden instead. For example:

class MyElement extends LitElement {
  override async getUpdateComplete() {
    const result = await super.getUpdateComplete();
    await this._myChild.updateComplete;
    return result;
  }
}

Returns: Promise

A promise of a boolean that resolves to true if the update completed without triggering another update.
ui.accordion.HoopsAccordion.performUpdate()

inherited

performUpdate(): void

Performs an element update. Note, if an exception is thrown during the update, firstUpdated and updated will not be called.

Call performUpdate() to immediately process a pending update. This should generally not be needed, but it can be done in rare cases when you need to update synchronously.

Returns: void

ui.accordion.HoopsAccordion.scheduleUpdate()

inherited

scheduleUpdate(): (void | Promise)

Schedules an element update. You can override this method to change the timing of updates by returning a Promise. The update will await the returned Promise, and you should resolve the Promise to allow the update to proceed. If this method is overridden, super.scheduleUpdate() must be called.

For instance, to schedule updates to occur just before the next frame:

override protected async scheduleUpdate(): Promise<unknown> {
  await new Promise((resolve) => requestAnimationFrame(() => resolve()));
  super.scheduleUpdate();
}

Returns: (void | Promise)

ui.accordion.HoopsAccordion.shouldUpdate()

inherited

shouldUpdate(_changedProperties: (PropertyValueMap | Map)): boolean

Controls whether or not update() should be called when the element requests an update. By default, this method always returns true, but this can be customized to control when to update.

Parameters

_changedProperties: (PropertyValueMap | Map)

Map of changed properties with old values

Returns: boolean

ui.accordion.HoopsAccordion.update()

inherited

update(changedProperties: (PropertyValueMap | Map)): void

Updates the element. This method reflects property values to attributes and calls render to render DOM via lit-html. Setting properties inside this method will not trigger another update.

Parameters

changedProperties: (PropertyValueMap | Map)

Map of changed properties with old values

Returns: void

ui.accordion.HoopsAccordion.updated()

inherited

updated(_changedProperties: (PropertyValueMap | Map)): void

Invoked whenever the element is updated. Implement to perform post-updating tasks via DOM APIs, for example, focusing an element.

Setting properties inside this method will trigger the element to update again after this update cycle completes.

Parameters

_changedProperties: (PropertyValueMap | Map)

Map of changed properties with old values

Returns: void

ui.accordion.HoopsAccordion.willUpdate()

inherited

willUpdate(_changedProperties: (PropertyValueMap | Map)): void

Invoked before update() to compute values needed during the update.

Implement willUpdate to compute property values that depend on other properties and are used in the rest of the update process.

willUpdate(changedProperties) {
  // only need to check changed properties for an expensive computation.
  if (changedProperties.has('firstName') || changedProperties.has('lastName')) {
    this.sha = computeSHA(`${this.firstName} ${this.lastName}`);
  }
}

render() {
  return html`SHA: ${this.sha}`;
}

Parameters

_changedProperties: (PropertyValueMap | Map)

Returns: void