View Source DeliveryElement
oli / Exports / DeliveryElement
Class: DeliveryElement<T>
An abstract delivery web component, designed to delegate rendering
via the render
method. This delivery web component will re-render
when the 'model' attribute of the the web component changes. It also provides
several callback function to allow the concrete implementation to initiate
lifecycle events (e.g. request a hint, reset an attempt, etc).
While the delegated implementation is a React component in the case of natively
implemented activities, this does not need to be the case. This DeliveryElement
implementation is tech-stack agnostic. One can use it to implement the authoring
component of a Torus activity in Vanilla JS, React, Vue, Angular, etc.
// A typical React delegation
export class MultipleChoiceDelivery extends DeliveryElement<MCSchema> {
render(mountPoint: HTMLDivElement, props: DeliveryElementProps<MCSchema>) {
const store = configureStore({}, activityDeliverySlice.reducer);
ReactDOM.render(
<Provider store={store}>
<DeliveryElementProvider {...props}>
<MultipleChoiceComponent />
</DeliveryElementProvider>
</Provider>,
mountPoint,
);
}
}
Type parameters
Name | Type |
---|---|
T | extends ActivityModelSchema |
Hierarchy
HTMLElement
↳
DeliveryElement
Table of contents
Constructors
Properties
- ATTRIBUTE_NODE
- CDATA_SECTION_NODE
- COMMENT_NODE
- DOCUMENT_FRAGMENT_NODE
- DOCUMENT_NODE
- DOCUMENT_POSITION_CONTAINED_BY
- DOCUMENT_POSITION_CONTAINS
- DOCUMENT_POSITION_DISCONNECTED
- DOCUMENT_POSITION_FOLLOWING
- DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
- DOCUMENT_POSITION_PRECEDING
- DOCUMENT_TYPE_NODE
- ELEMENT_NODE
- ENTITY_NODE
- ENTITY_REFERENCE_NODE
- NOTATION_NODE
- PROCESSING_INSTRUCTION_NODE
- TEXT_NODE
- _notify
- accessKey
- accessKeyLabel
- ariaAtomic
- ariaAutoComplete
- ariaBusy
- ariaChecked
- ariaColCount
- ariaColIndex
- ariaColSpan
- ariaCurrent
- ariaDisabled
- ariaExpanded
- ariaHasPopup
- ariaHidden
- ariaKeyShortcuts
- ariaLabel
- ariaLevel
- ariaLive
- ariaModal
- ariaMultiLine
- ariaMultiSelectable
- ariaOrientation
- ariaPlaceholder
- ariaPosInSet
- ariaPressed
- ariaReadOnly
- ariaRequired
- ariaRoleDescription
- ariaRowCount
- ariaRowIndex
- ariaRowSpan
- ariaSelected
- ariaSetSize
- ariaSort
- ariaValueMax
- ariaValueMin
- ariaValueNow
- ariaValueText
- assignedSlot
- attributes
- autocapitalize
- autofocus
- baseURI
- childElementCount
- childNodes
- children
- classList
- className
- clientHeight
- clientLeft
- clientTop
- clientWidth
- connected
- contentEditable
- dataset
- dir
- draggable
- enterKeyHint
- firstChild
- firstElementChild
- hidden
- id
- innerHTML
- innerText
- inputMode
- isConnected
- isContentEditable
- lang
- lastChild
- lastElementChild
- localName
- mountPoint
- namespaceURI
- nextElementSibling
- nextSibling
- nodeName
- nodeType
- nodeValue
- nonce
- offsetHeight
- offsetLeft
- offsetParent
- offsetTop
- offsetWidth
- onGetData
- onReady
- onRequestHint
- onResetActivity
- onResetPart
- onResize
- onSaveActivity
- onSavePart
- onSetData
- onSubmitActivity
- onSubmitEvaluations
- onSubmitPart
- onabort
- onanimationcancel
- onanimationend
- onanimationiteration
- onanimationstart
- onauxclick
- onblur
- oncanplay
- oncanplaythrough
- onchange
- onclick
- onclose
- oncontextmenu
- oncopy
- oncuechange
- oncut
- ondblclick
- ondrag
- ondragend
- ondragenter
- ondragleave
- ondragover
- ondragstart
- ondrop
- ondurationchange
- onemptied
- onended
- onerror
- onfocus
- onformdata
- onfullscreenchange
- onfullscreenerror
- ongotpointercapture
- oninput
- oninvalid
- onkeydown
- onkeypress
- onkeyup
- onload
- onloadeddata
- onloadedmetadata
- onloadstart
- onlostpointercapture
- onmousedown
- onmouseenter
- onmouseleave
- onmousemove
- onmouseout
- onmouseover
- onmouseup
- onpaste
- onpause
- onplay
- onplaying
- onpointercancel
- onpointerdown
- onpointerenter
- onpointerleave
- onpointermove
- onpointerout
- onpointerover
- onpointerup
- onprogress
- onratechange
- onreset
- onresize
- onscroll
- onsecuritypolicyviolation
- onseeked
- onseeking
- onselect
- onselectionchange
- onselectstart
- onslotchange
- onstalled
- onsubmit
- onsuspend
- ontimeupdate
- ontoggle
- ontouchcancel
- ontouchend
- ontouchmove
- ontouchstart
- ontransitioncancel
- ontransitionend
- ontransitionrun
- ontransitionstart
- onvolumechange
- onwaiting
- onwebkitanimationend
- onwebkitanimationiteration
- onwebkitanimationstart
- onwebkittransitionend
- onwheel
- outerHTML
- outerText
- ownerDocument
- parentElement
- parentNode
- part
- prefix
- previousElementSibling
- previousSibling
- review
- scrollHeight
- scrollLeft
- scrollTop
- scrollWidth
- shadowRoot
- slot
- spellcheck
- style
- tabIndex
- tagName
- textContent
- title
- translate
Accessors
Methods
- addEventListener
- after
- animate
- append
- appendChild
- attachInternals
- attachShadow
- attributeChangedCallback
- before
- blur
- click
- cloneNode
- closest
- compareDocumentPosition
- connectedCallback
- contains
- details
- dispatch
- dispatchEvent
- focus
- getAnimations
- getAttribute
- getAttributeNS
- getAttributeNames
- getAttributeNode
- getAttributeNodeNS
- getBoundingClientRect
- getClientRects
- getElementsByClassName
- getElementsByTagName
- getElementsByTagNameNS
- getRootNode
- hasAttribute
- hasAttributeNS
- hasAttributes
- hasChildNodes
- hasPointerCapture
- insertAdjacentElement
- insertAdjacentHTML
- insertAdjacentText
- insertBefore
- isDefaultNamespace
- isEqualNode
- isSameNode
- lookupNamespaceURI
- lookupPrefix
- matches
- normalize
- notify
- prepend
- props
- querySelector
- querySelectorAll
- releasePointerCapture
- remove
- removeAttribute
- removeAttributeNS
- removeAttributeNode
- removeChild
- removeEventListener
- render
- replaceChild
- replaceChildren
- replaceWith
- requestFullscreen
- requestPointerLock
- scroll
- scrollBy
- scrollIntoView
- scrollTo
- setAttribute
- setAttributeNS
- setAttributeNode
- setAttributeNodeNS
- setPointerCapture
- toggleAttribute
- webkitMatchesSelector
Constructors
constructor
• new DeliveryElement<T
>()
Type parameters
Name | Type |
---|---|
T | extends ActivityModelSchema |
Overrides
HTMLElement.constructor
Defined in
src/components/activities/DeliveryElement.ts:247
Properties
ATTRIBUTE_NODE
• Readonly
ATTRIBUTE_NODE: number
Inherited from
HTMLElement.ATTRIBUTE_NODE
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9822
CDATA_SECTION_NODE
• Readonly
CDATA_SECTION_NODE: number
node is a CDATASection node.
Inherited from
HTMLElement.CDATA_SECTION_NODE
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9824
COMMENT_NODE
• Readonly
COMMENT_NODE: number
node is a Comment node.
Inherited from
HTMLElement.COMMENT_NODE
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9826
DOCUMENT_FRAGMENT_NODE
• Readonly
DOCUMENT_FRAGMENT_NODE: number
node is a DocumentFragment node.
Inherited from
HTMLElement.DOCUMENT_FRAGMENT_NODE
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9828
DOCUMENT_NODE
• Readonly
DOCUMENT_NODE: number
node is a document.
Inherited from
HTMLElement.DOCUMENT_NODE
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9830
DOCUMENT_POSITION_CONTAINED_BY
• Readonly
DOCUMENT_POSITION_CONTAINED_BY: number
Set when other is a descendant of node.
Inherited from
HTMLElement.DOCUMENT_POSITION_CONTAINED_BY
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9832
DOCUMENT_POSITION_CONTAINS
• Readonly
DOCUMENT_POSITION_CONTAINS: number
Set when other is an ancestor of node.
Inherited from
HTMLElement.DOCUMENT_POSITION_CONTAINS
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9834
DOCUMENT_POSITION_DISCONNECTED
• Readonly
DOCUMENT_POSITION_DISCONNECTED: number
Set when node and other are not in the same tree.
Inherited from
HTMLElement.DOCUMENT_POSITION_DISCONNECTED
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9836
DOCUMENT_POSITION_FOLLOWING
• Readonly
DOCUMENT_POSITION_FOLLOWING: number
Set when other is following node.
Inherited from
HTMLElement.DOCUMENT_POSITION_FOLLOWING
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9838
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
• Readonly
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number
Inherited from
HTMLElement.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9839
DOCUMENT_POSITION_PRECEDING
• Readonly
DOCUMENT_POSITION_PRECEDING: number
Set when other is preceding node.
Inherited from
HTMLElement.DOCUMENT_POSITION_PRECEDING
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9841
DOCUMENT_TYPE_NODE
• Readonly
DOCUMENT_TYPE_NODE: number
node is a doctype.
Inherited from
HTMLElement.DOCUMENT_TYPE_NODE
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9843
ELEMENT_NODE
• Readonly
ELEMENT_NODE: number
node is an element.
Inherited from
HTMLElement.ELEMENT_NODE
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9845
ENTITY_NODE
• Readonly
ENTITY_NODE: number
Inherited from
HTMLElement.ENTITY_NODE
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9846
ENTITY_REFERENCE_NODE
• Readonly
ENTITY_REFERENCE_NODE: number
Inherited from
HTMLElement.ENTITY_REFERENCE_NODE
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9847
NOTATION_NODE
• Readonly
NOTATION_NODE: number
Inherited from
HTMLElement.NOTATION_NODE
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9848
PROCESSING_INSTRUCTION_NODE
• Readonly
PROCESSING_INSTRUCTION_NODE: number
node is a ProcessingInstruction node.
Inherited from
HTMLElement.PROCESSING_INSTRUCTION_NODE
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9850
TEXT_NODE
• Readonly
TEXT_NODE: number
node is a Text node.
Inherited from
HTMLElement.TEXT_NODE
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9852
_notify
• Protected
_notify: EventEmitter
Defined in
src/components/activities/DeliveryElement.ts:218
accessKey
• accessKey: string
Inherited from
HTMLElement.accessKey
Defined in
node_modules/typescript/lib/lib.dom.d.ts:6223
accessKeyLabel
• Readonly
accessKeyLabel: string
Inherited from
HTMLElement.accessKeyLabel
Defined in
node_modules/typescript/lib/lib.dom.d.ts:6224
ariaAtomic
• ariaAtomic: null
\| string
Inherited from
HTMLElement.ariaAtomic
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1857
ariaAutoComplete
• ariaAutoComplete: null
\| string
Inherited from
HTMLElement.ariaAutoComplete
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1858
ariaBusy
• ariaBusy: null
\| string
Inherited from
HTMLElement.ariaBusy
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1859
ariaChecked
• ariaChecked: null
\| string
Inherited from
HTMLElement.ariaChecked
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1860
ariaColCount
• ariaColCount: null
\| string
Inherited from
HTMLElement.ariaColCount
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1861
ariaColIndex
• ariaColIndex: null
\| string
Inherited from
HTMLElement.ariaColIndex
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1862
ariaColSpan
• ariaColSpan: null
\| string
Inherited from
HTMLElement.ariaColSpan
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1863
ariaCurrent
• ariaCurrent: null
\| string
Inherited from
HTMLElement.ariaCurrent
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1864
ariaDisabled
• ariaDisabled: null
\| string
Inherited from
HTMLElement.ariaDisabled
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1865
ariaExpanded
• ariaExpanded: null
\| string
Inherited from
HTMLElement.ariaExpanded
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1866
ariaHasPopup
• ariaHasPopup: null
\| string
Inherited from
HTMLElement.ariaHasPopup
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1867
ariaHidden
• ariaHidden: null
\| string
Inherited from
HTMLElement.ariaHidden
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1868
ariaKeyShortcuts
• ariaKeyShortcuts: null
\| string
Inherited from
HTMLElement.ariaKeyShortcuts
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1869
ariaLabel
• ariaLabel: null
\| string
Inherited from
HTMLElement.ariaLabel
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1870
ariaLevel
• ariaLevel: null
\| string
Inherited from
HTMLElement.ariaLevel
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1871
ariaLive
• ariaLive: null
\| string
Inherited from
HTMLElement.ariaLive
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1872
ariaModal
• ariaModal: null
\| string
Inherited from
HTMLElement.ariaModal
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1873
ariaMultiLine
• ariaMultiLine: null
\| string
Inherited from
HTMLElement.ariaMultiLine
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1874
ariaMultiSelectable
• ariaMultiSelectable: null
\| string
Inherited from
HTMLElement.ariaMultiSelectable
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1875
ariaOrientation
• ariaOrientation: null
\| string
Inherited from
HTMLElement.ariaOrientation
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1876
ariaPlaceholder
• ariaPlaceholder: null
\| string
Inherited from
HTMLElement.ariaPlaceholder
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1877
ariaPosInSet
• ariaPosInSet: null
\| string
Inherited from
HTMLElement.ariaPosInSet
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1878
ariaPressed
• ariaPressed: null
\| string
Inherited from
HTMLElement.ariaPressed
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1879
ariaReadOnly
• ariaReadOnly: null
\| string
Inherited from
HTMLElement.ariaReadOnly
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1880
ariaRequired
• ariaRequired: null
\| string
Inherited from
HTMLElement.ariaRequired
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1881
ariaRoleDescription
• ariaRoleDescription: null
\| string
Inherited from
HTMLElement.ariaRoleDescription
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1882
ariaRowCount
• ariaRowCount: null
\| string
Inherited from
HTMLElement.ariaRowCount
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1883
ariaRowIndex
• ariaRowIndex: null
\| string
Inherited from
HTMLElement.ariaRowIndex
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1884
ariaRowSpan
• ariaRowSpan: null
\| string
Inherited from
HTMLElement.ariaRowSpan
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1885
ariaSelected
• ariaSelected: null
\| string
Inherited from
HTMLElement.ariaSelected
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1886
ariaSetSize
• ariaSetSize: null
\| string
Inherited from
HTMLElement.ariaSetSize
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1887
ariaSort
• ariaSort: null
\| string
Inherited from
HTMLElement.ariaSort
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1888
ariaValueMax
• ariaValueMax: null
\| string
Inherited from
HTMLElement.ariaValueMax
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1889
ariaValueMin
• ariaValueMin: null
\| string
Inherited from
HTMLElement.ariaValueMin
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1890
ariaValueNow
• ariaValueNow: null
\| string
Inherited from
HTMLElement.ariaValueNow
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1891
ariaValueText
• ariaValueText: null
\| string
Inherited from
HTMLElement.ariaValueText
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1892
assignedSlot
• Readonly
assignedSlot: null
\| HTMLSlotElement
Inherited from
HTMLElement.assignedSlot
Defined in
node_modules/typescript/lib/lib.dom.d.ts:13242
attributes
• Readonly
attributes: NamedNodeMap
Inherited from
HTMLElement.attributes
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4768
autocapitalize
• autocapitalize: string
Inherited from
HTMLElement.autocapitalize
Defined in
node_modules/typescript/lib/lib.dom.d.ts:6225
autofocus
• autofocus: boolean
Inherited from
HTMLElement.autofocus
Defined in
node_modules/typescript/lib/lib.dom.d.ts:7427
baseURI
• Readonly
baseURI: string
Returns node's node document's document base URL.
Inherited from
HTMLElement.baseURI
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9775
childElementCount
• Readonly
childElementCount: number
Inherited from
HTMLElement.childElementCount
Defined in
node_modules/typescript/lib/lib.dom.d.ts:10140
childNodes
• Readonly
childNodes: NodeListOf
<ChildNode
>
Returns the children.
Inherited from
HTMLElement.childNodes
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9777
children
• Readonly
children: HTMLCollection
Returns the child elements.
Inherited from
HTMLElement.children
Defined in
node_modules/typescript/lib/lib.dom.d.ts:10142
classList
• Readonly
classList: DOMTokenList
Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.
Inherited from
HTMLElement.classList
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4770
className
• className: string
Returns the value of element's class content attribute. Can be set to change it.
Inherited from
HTMLElement.className
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4772
clientHeight
• Readonly
clientHeight: number
Inherited from
HTMLElement.clientHeight
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4773
clientLeft
• Readonly
clientLeft: number
Inherited from
HTMLElement.clientLeft
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4774
clientTop
• Readonly
clientTop: number
Inherited from
HTMLElement.clientTop
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4775
clientWidth
• Readonly
clientWidth: number
Inherited from
HTMLElement.clientWidth
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4776
connected
• connected: boolean
Defined in
src/components/activities/DeliveryElement.ts:213
contentEditable
• contentEditable: string
Inherited from
HTMLElement.contentEditable
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4887
dataset
• Readonly
dataset: DOMStringMap
Inherited from
HTMLElement.dataset
Defined in
node_modules/typescript/lib/lib.dom.d.ts:7428
dir
• dir: string
Inherited from
HTMLElement.dir
Defined in
node_modules/typescript/lib/lib.dom.d.ts:6226
draggable
• draggable: boolean
Inherited from
HTMLElement.draggable
Defined in
node_modules/typescript/lib/lib.dom.d.ts:6227
enterKeyHint
• enterKeyHint: string
Inherited from
HTMLElement.enterKeyHint
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4888
firstChild
• Readonly
firstChild: null
\| ChildNode
Returns the first child.
Inherited from
HTMLElement.firstChild
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9779
firstElementChild
• Readonly
firstElementChild: null
\| Element
Returns the first child that is an element, and null otherwise.
Inherited from
HTMLElement.firstElementChild
Defined in
node_modules/typescript/lib/lib.dom.d.ts:10144
hidden
• hidden: boolean
Inherited from
HTMLElement.hidden
Defined in
node_modules/typescript/lib/lib.dom.d.ts:6228
id
• id: string
Returns the value of element's id content attribute. Can be set to change it.
Inherited from
HTMLElement.id
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4778
innerHTML
• innerHTML: string
Inherited from
HTMLElement.innerHTML
Defined in
node_modules/typescript/lib/lib.dom.d.ts:8777
innerText
• innerText: string
Inherited from
HTMLElement.innerText
Defined in
node_modules/typescript/lib/lib.dom.d.ts:6229
inputMode
• inputMode: string
Inherited from
HTMLElement.inputMode
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4889
isConnected
• Readonly
isConnected: boolean
Returns true if node is connected and false otherwise.
Inherited from
HTMLElement.isConnected
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9781
isContentEditable
• Readonly
isContentEditable: boolean
Inherited from
HTMLElement.isContentEditable
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4890
lang
• lang: string
Inherited from
HTMLElement.lang
Defined in
node_modules/typescript/lib/lib.dom.d.ts:6230
lastChild
• Readonly
lastChild: null
\| ChildNode
Returns the last child.
Inherited from
HTMLElement.lastChild
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9783
lastElementChild
• Readonly
lastElementChild: null
\| Element
Returns the last child that is an element, and null otherwise.
Inherited from
HTMLElement.lastElementChild
Defined in
node_modules/typescript/lib/lib.dom.d.ts:10146
localName
• Readonly
localName: string
Returns the local name.
Inherited from
HTMLElement.localName
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4780
mountPoint
• mountPoint: HTMLDivElement
Defined in
src/components/activities/DeliveryElement.ts:212
namespaceURI
• Readonly
namespaceURI: null
\| string
Returns the namespace.
Inherited from
HTMLElement.namespaceURI
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4782
nextElementSibling
• Readonly
nextElementSibling: null
\| Element
Returns the first following sibling that is an element, and null otherwise.
Inherited from
HTMLElement.nextElementSibling
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9942
nextSibling
• Readonly
nextSibling: null
\| ChildNode
Returns the next sibling.
Inherited from
HTMLElement.nextSibling
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9785
nodeName
• Readonly
nodeName: string
Returns a string appropriate for the type of node.
Inherited from
HTMLElement.nodeName
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9787
nodeType
• Readonly
nodeType: number
Returns the type of node.
Inherited from
HTMLElement.nodeType
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9789
nodeValue
• nodeValue: null
\| string
Inherited from
HTMLElement.nodeValue
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9790
nonce
• Optional
nonce: string
Inherited from
HTMLElement.nonce
Defined in
node_modules/typescript/lib/lib.dom.d.ts:7429
offsetHeight
• Readonly
offsetHeight: number
Inherited from
HTMLElement.offsetHeight
Defined in
node_modules/typescript/lib/lib.dom.d.ts:6231
offsetLeft
• Readonly
offsetLeft: number
Inherited from
HTMLElement.offsetLeft
Defined in
node_modules/typescript/lib/lib.dom.d.ts:6232
offsetParent
• Readonly
offsetParent: null
\| Element
Inherited from
HTMLElement.offsetParent
Defined in
node_modules/typescript/lib/lib.dom.d.ts:6233
offsetTop
• Readonly
offsetTop: number
Inherited from
HTMLElement.offsetTop
Defined in
node_modules/typescript/lib/lib.dom.d.ts:6234
offsetWidth
• Readonly
offsetWidth: number
Inherited from
HTMLElement.offsetWidth
Defined in
node_modules/typescript/lib/lib.dom.d.ts:6235
onGetData
• Optional
onGetData: (attemptGuid
: string
, partAttemptGuid
: string
, payload
: any
) => Promise
<any
>
Type declaration
▸ (attemptGuid
, partAttemptGuid
, payload
): Promise
<any
>
Parameters
Name | Type |
---|---|
attemptGuid | string |
partAttemptGuid | string |
payload | any |
Returns
Promise
<any
>
Defined in
src/components/activities/DeliveryElement.ts:215
onReady
• onReady: (attemptGuid
: string
, response?
: any
[]) => Promise
<Success
>
Type declaration
▸ (attemptGuid
, response?
): Promise
<Success
>
Parameters
Name | Type |
---|---|
attemptGuid | string |
response? | any [] |
Returns
Promise
<Success
>
Defined in
src/components/activities/DeliveryElement.ts:244
onRequestHint
• onRequestHint: (attemptGuid
: string
, partAttemptGuid
: string
) => Promise
<RequestHintResponse
>
Type declaration
▸ (attemptGuid
, partAttemptGuid
): Promise
<RequestHintResponse
>
Parameters
Name | Type |
---|---|
attemptGuid | string |
partAttemptGuid | string |
Returns
Promise
<RequestHintResponse
>
Defined in
src/components/activities/DeliveryElement.ts:220
onResetActivity
• onResetActivity: (attemptGuid
: string
) => Promise
<ResetActivityResponse
>
Type declaration
▸ (attemptGuid
): Promise
<ResetActivityResponse
>
Parameters
Name | Type |
---|---|
attemptGuid | string |
Returns
Promise
<ResetActivityResponse
>
Defined in
src/components/activities/DeliveryElement.ts:227
onResetPart
• onResetPart: (attemptGuid
: string
, partAttemptGuid
: string
) => Promise
<PartActivityResponse
>
Type declaration
▸ (attemptGuid
, partAttemptGuid
): Promise
<PartActivityResponse
>
Parameters
Name | Type |
---|---|
attemptGuid | string |
partAttemptGuid | string |
Returns
Promise
<PartActivityResponse
>
Defined in
src/components/activities/DeliveryElement.ts:239
onResize
• onResize: (attemptGuid
: string
) => Promise
<Success
>
Type declaration
▸ (attemptGuid
): Promise
<Success
>
Parameters
Name | Type |
---|---|
attemptGuid | string |
Returns
Promise
<Success
>
Defined in
src/components/activities/DeliveryElement.ts:245
onSaveActivity
• onSaveActivity: (attemptGuid
: string
, partResponses
: PartResponse
[]) => Promise
<Success
>
Type declaration
▸ (attemptGuid
, partResponses
): Promise
<Success
>
Parameters
Name | Type |
---|---|
attemptGuid | string |
partResponses | PartResponse [] |
Returns
Promise
<Success
>
Defined in
src/components/activities/DeliveryElement.ts:222
onSavePart
• onSavePart: (attemptGuid
: string
, partAttemptGuid
: string
, response
: StudentResponse
) => Promise
<Success
>
Type declaration
▸ (attemptGuid
, partAttemptGuid
, response
): Promise
<Success
>
Parameters
Name | Type |
---|---|
attemptGuid | string |
partAttemptGuid | string |
response | StudentResponse |
Returns
Promise
<Success
>
Defined in
src/components/activities/DeliveryElement.ts:229
onSetData
• Optional
onSetData: (attemptGuid
: string
, partAttemptGuid
: string
, payload
: any
) => Promise
<any
>
Type declaration
▸ (attemptGuid
, partAttemptGuid
, payload
): Promise
<any
>
Parameters
Name | Type |
---|---|
attemptGuid | string |
partAttemptGuid | string |
payload | any |
Returns
Promise
<any
>
Defined in
src/components/activities/DeliveryElement.ts:216
onSubmitActivity
• onSubmitActivity: (attemptGuid
: string
, partResponses
: PartResponse
[]) => Promise
<EvaluationResponse
>
Type declaration
▸ (attemptGuid
, partResponses
): Promise
<EvaluationResponse
>
Parameters
Name | Type |
---|---|
attemptGuid | string |
partResponses | PartResponse [] |
Returns
Promise
<EvaluationResponse
>
Defined in
src/components/activities/DeliveryElement.ts:223
onSubmitEvaluations
• onSubmitEvaluations: (attemptGuid
: string
, clientEvaluations
: ClientEvaluation
[]) => Promise
<EvaluationResponse
>
Type declaration
▸ (attemptGuid
, clientEvaluations
): Promise
<EvaluationResponse
>
Parameters
Name | Type |
---|---|
attemptGuid | string |
clientEvaluations | ClientEvaluation [] |
Returns
Promise
<EvaluationResponse
>
Defined in
src/components/activities/DeliveryElement.ts:240
onSubmitPart
• onSubmitPart: (attemptGuid
: string
, partAttemptGuid
: string
, response
: StudentResponse
) => Promise
<EvaluationResponse
>
Type declaration
▸ (attemptGuid
, partAttemptGuid
, response
): Promise
<EvaluationResponse
>
Parameters
Name | Type |
---|---|
attemptGuid | string |
partAttemptGuid | string |
response | StudentResponse |
Returns
Promise
<EvaluationResponse
>
Defined in
src/components/activities/DeliveryElement.ts:234
onabort
• onabort: null
\| (this
: GlobalEventHandlers
, ev
: UIEvent
) => any
Fires when the user aborts the download.
param
The event.
Inherited from
HTMLElement.onabort
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5542
onanimationcancel
• onanimationcancel: null
\| (this
: GlobalEventHandlers
, ev
: AnimationEvent
) => any
Inherited from
HTMLElement.onanimationcancel
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5543
onanimationend
• onanimationend: null
\| (this
: GlobalEventHandlers
, ev
: AnimationEvent
) => any
Inherited from
HTMLElement.onanimationend
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5544
onanimationiteration
• onanimationiteration: null
\| (this
: GlobalEventHandlers
, ev
: AnimationEvent
) => any
Inherited from
HTMLElement.onanimationiteration
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5545
onanimationstart
• onanimationstart: null
\| (this
: GlobalEventHandlers
, ev
: AnimationEvent
) => any
Inherited from
HTMLElement.onanimationstart
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5546
onauxclick
• onauxclick: null
\| (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Inherited from
HTMLElement.onauxclick
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5547
onblur
• onblur: null
\| (this
: GlobalEventHandlers
, ev
: FocusEvent
) => any
Fires when the object loses the input focus.
param
The focus event.
Inherited from
HTMLElement.onblur
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5552
oncanplay
• oncanplay: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when playback is possible, but would require further buffering.
param
The event.
Inherited from
HTMLElement.oncanplay
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5557
oncanplaythrough
• oncanplaythrough: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Inherited from
HTMLElement.oncanplaythrough
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5558
onchange
• onchange: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Fires when the contents of the object or selection have changed.
param
The event.
Inherited from
HTMLElement.onchange
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5563
onclick
• onclick: null
\| (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Fires when the user clicks the left mouse button on the object
param
The mouse event.
Inherited from
HTMLElement.onclick
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5568
onclose
• onclose: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Inherited from
HTMLElement.onclose
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5569
oncontextmenu
• oncontextmenu: null
\| (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Fires when the user clicks the right mouse button in the client area, opening the context menu.
param
The mouse event.
Inherited from
HTMLElement.oncontextmenu
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5574
oncopy
• oncopy: null
\| (this
: DocumentAndElementEventHandlers
, ev
: ClipboardEvent
) => any
Inherited from
HTMLElement.oncopy
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4624
oncuechange
• oncuechange: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Inherited from
HTMLElement.oncuechange
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5575
oncut
• oncut: null
\| (this
: DocumentAndElementEventHandlers
, ev
: ClipboardEvent
) => any
Inherited from
HTMLElement.oncut
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4625
ondblclick
• ondblclick: null
\| (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Fires when the user double-clicks the object.
param
The mouse event.
Inherited from
HTMLElement.ondblclick
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5580
ondrag
• ondrag: null
\| (this
: GlobalEventHandlers
, ev
: DragEvent
) => any
Fires on the source object continuously during a drag operation.
param
The event.
Inherited from
HTMLElement.ondrag
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5585
ondragend
• ondragend: null
\| (this
: GlobalEventHandlers
, ev
: DragEvent
) => any
Fires on the source object when the user releases the mouse at the close of a drag operation.
param
The event.
Inherited from
HTMLElement.ondragend
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5590
ondragenter
• ondragenter: null
\| (this
: GlobalEventHandlers
, ev
: DragEvent
) => any
Fires on the target element when the user drags the object to a valid drop target.
param
The drag event.
Inherited from
HTMLElement.ondragenter
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5595
ondragleave
• ondragleave: null
\| (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.
param
The drag event.
Inherited from
HTMLElement.ondragleave
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5600
ondragover
• ondragover: null
\| (this
: GlobalEventHandlers
, ev
: DragEvent
) => any
Fires on the target element continuously while the user drags the object over a valid drop target.
param
The event.
Inherited from
HTMLElement.ondragover
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5605
ondragstart
• ondragstart: null
\| (this
: GlobalEventHandlers
, ev
: DragEvent
) => any
Fires on the source object when the user starts to drag a text selection or selected object.
param
The event.
Inherited from
HTMLElement.ondragstart
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5610
ondrop
• ondrop: null
\| (this
: GlobalEventHandlers
, ev
: DragEvent
) => any
Inherited from
HTMLElement.ondrop
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5611
ondurationchange
• ondurationchange: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the duration attribute is updated.
param
The event.
Inherited from
HTMLElement.ondurationchange
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5616
onemptied
• onemptied: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the media element is reset to its initial state.
param
The event.
Inherited from
HTMLElement.onemptied
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5621
onended
• onended: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the end of playback is reached.
param
The event
Inherited from
HTMLElement.onended
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5626
onerror
• onerror: OnErrorEventHandler
Fires when an error occurs during object loading.
param
The event.
Inherited from
HTMLElement.onerror
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5631
onfocus
• onfocus: null
\| (this
: GlobalEventHandlers
, ev
: FocusEvent
) => any
Fires when the object receives focus.
param
The event.
Inherited from
HTMLElement.onfocus
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5636
onformdata
• onformdata: null
\| (this
: GlobalEventHandlers
, ev
: FormDataEvent
) => any
Inherited from
HTMLElement.onformdata
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5637
onfullscreenchange
• onfullscreenchange: null
\| (this
: Element
, ev
: Event
) => any
Inherited from
HTMLElement.onfullscreenchange
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4783
onfullscreenerror
• onfullscreenerror: null
\| (this
: Element
, ev
: Event
) => any
Inherited from
HTMLElement.onfullscreenerror
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4784
ongotpointercapture
• ongotpointercapture: null
\| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Inherited from
HTMLElement.ongotpointercapture
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5638
oninput
• oninput: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Inherited from
HTMLElement.oninput
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5639
oninvalid
• oninvalid: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Inherited from
HTMLElement.oninvalid
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5640
onkeydown
• onkeydown: null
\| (this
: GlobalEventHandlers
, ev
: KeyboardEvent
) => any
Fires when the user presses a key.
param
The keyboard event
Inherited from
HTMLElement.onkeydown
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5645
onkeypress
• onkeypress: null
\| (this
: GlobalEventHandlers
, ev
: KeyboardEvent
) => any
Fires when the user presses an alphanumeric key.
param
The event.
deprecated
Inherited from
HTMLElement.onkeypress
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5651
onkeyup
• onkeyup: null
\| (this
: GlobalEventHandlers
, ev
: KeyboardEvent
) => any
Fires when the user releases a key.
param
The keyboard event
Inherited from
HTMLElement.onkeyup
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5656
onload
• onload: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Fires immediately after the browser loads the object.
param
The event.
Inherited from
HTMLElement.onload
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5661
onloadeddata
• onloadeddata: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when media data is loaded at the current playback position.
param
The event.
Inherited from
HTMLElement.onloadeddata
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5666
onloadedmetadata
• onloadedmetadata: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the duration and dimensions of the media have been determined.
param
The event.
Inherited from
HTMLElement.onloadedmetadata
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5671
onloadstart
• onloadstart: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when Internet Explorer begins looking for media data.
param
The event.
Inherited from
HTMLElement.onloadstart
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5676
onlostpointercapture
• onlostpointercapture: null
\| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Inherited from
HTMLElement.onlostpointercapture
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5677
onmousedown
• onmousedown: null
\| (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Fires when the user clicks the object with either mouse button.
param
The mouse event.
Inherited from
HTMLElement.onmousedown
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5682
onmouseenter
• onmouseenter: null
\| (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Inherited from
HTMLElement.onmouseenter
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5683
onmouseleave
• onmouseleave: null
\| (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Inherited from
HTMLElement.onmouseleave
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5684
onmousemove
• onmousemove: null
\| (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Fires when the user moves the mouse over the object.
param
The mouse event.
Inherited from
HTMLElement.onmousemove
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5689
onmouseout
• onmouseout: null
\| (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Fires when the user moves the mouse pointer outside the boundaries of the object.
param
The mouse event.
Inherited from
HTMLElement.onmouseout
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5694
onmouseover
• onmouseover: null
\| (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Fires when the user moves the mouse pointer into the object.
param
The mouse event.
Inherited from
HTMLElement.onmouseover
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5699
onmouseup
• onmouseup: null
\| (this
: GlobalEventHandlers
, ev
: MouseEvent
) => any
Fires when the user releases a mouse button while the mouse is over the object.
param
The mouse event.
Inherited from
HTMLElement.onmouseup
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5704
onpaste
• onpaste: null
\| (this
: DocumentAndElementEventHandlers
, ev
: ClipboardEvent
) => any
Inherited from
HTMLElement.onpaste
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4626
onpause
• onpause: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when playback is paused.
param
The event.
Inherited from
HTMLElement.onpause
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5709
onplay
• onplay: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the play method is requested.
param
The event.
Inherited from
HTMLElement.onplay
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5714
onplaying
• onplaying: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the audio or video has started playing.
param
The event.
Inherited from
HTMLElement.onplaying
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5719
onpointercancel
• onpointercancel: null
\| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Inherited from
HTMLElement.onpointercancel
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5720
onpointerdown
• onpointerdown: null
\| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Inherited from
HTMLElement.onpointerdown
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5721
onpointerenter
• onpointerenter: null
\| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Inherited from
HTMLElement.onpointerenter
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5722
onpointerleave
• onpointerleave: null
\| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Inherited from
HTMLElement.onpointerleave
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5723
onpointermove
• onpointermove: null
\| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Inherited from
HTMLElement.onpointermove
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5724
onpointerout
• onpointerout: null
\| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Inherited from
HTMLElement.onpointerout
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5725
onpointerover
• onpointerover: null
\| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Inherited from
HTMLElement.onpointerover
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5726
onpointerup
• onpointerup: null
\| (this
: GlobalEventHandlers
, ev
: PointerEvent
) => any
Inherited from
HTMLElement.onpointerup
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5727
onprogress
• onprogress: null
\| (this
: GlobalEventHandlers
, ev
: ProgressEvent
<EventTarget
>) => any
Occurs to indicate progress while downloading media data.
param
The event.
Inherited from
HTMLElement.onprogress
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5732
onratechange
• onratechange: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the playback rate is increased or decreased.
param
The event.
Inherited from
HTMLElement.onratechange
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5737
onreset
• onreset: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Fires when the user resets a form.
param
The event.
Inherited from
HTMLElement.onreset
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5742
onresize
• onresize: null
\| (this
: GlobalEventHandlers
, ev
: UIEvent
) => any
Inherited from
HTMLElement.onresize
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5743
onscroll
• onscroll: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Fires when the user repositions the scroll box in the scroll bar on the object.
param
The event.
Inherited from
HTMLElement.onscroll
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5748
onsecuritypolicyviolation
• onsecuritypolicyviolation: null
\| (this
: GlobalEventHandlers
, ev
: SecurityPolicyViolationEvent
) => any
Inherited from
HTMLElement.onsecuritypolicyviolation
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5749
onseeked
• onseeked: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the seek operation ends.
param
The event.
Inherited from
HTMLElement.onseeked
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5754
onseeking
• onseeking: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the current playback position is moved.
param
The event.
Inherited from
HTMLElement.onseeking
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5759
onselect
• onselect: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Fires when the current selection changes.
param
The event.
Inherited from
HTMLElement.onselect
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5764
onselectionchange
• onselectionchange: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Inherited from
HTMLElement.onselectionchange
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5765
onselectstart
• onselectstart: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Inherited from
HTMLElement.onselectstart
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5766
onslotchange
• onslotchange: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Inherited from
HTMLElement.onslotchange
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5767
onstalled
• onstalled: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the download has stopped.
param
The event.
Inherited from
HTMLElement.onstalled
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5772
onsubmit
• onsubmit: null
\| (this
: GlobalEventHandlers
, ev
: SubmitEvent
) => any
Inherited from
HTMLElement.onsubmit
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5773
onsuspend
• onsuspend: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs if the load operation has been intentionally halted.
param
The event.
Inherited from
HTMLElement.onsuspend
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5778
ontimeupdate
• ontimeupdate: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs to indicate the current playback position.
param
The event.
Inherited from
HTMLElement.ontimeupdate
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5783
ontoggle
• ontoggle: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Inherited from
HTMLElement.ontoggle
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5784
ontouchcancel
• Optional
ontouchcancel: null
\| (this
: GlobalEventHandlers
, ev
: TouchEvent
) => any
Inherited from
HTMLElement.ontouchcancel
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5785
ontouchend
• Optional
ontouchend: null
\| (this
: GlobalEventHandlers
, ev
: TouchEvent
) => any
Inherited from
HTMLElement.ontouchend
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5786
ontouchmove
• Optional
ontouchmove: null
\| (this
: GlobalEventHandlers
, ev
: TouchEvent
) => any
Inherited from
HTMLElement.ontouchmove
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5787
ontouchstart
• Optional
ontouchstart: null
\| (this
: GlobalEventHandlers
, ev
: TouchEvent
) => any
Inherited from
HTMLElement.ontouchstart
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5788
ontransitioncancel
• ontransitioncancel: null
\| (this
: GlobalEventHandlers
, ev
: TransitionEvent
) => any
Inherited from
HTMLElement.ontransitioncancel
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5789
ontransitionend
• ontransitionend: null
\| (this
: GlobalEventHandlers
, ev
: TransitionEvent
) => any
Inherited from
HTMLElement.ontransitionend
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5790
ontransitionrun
• ontransitionrun: null
\| (this
: GlobalEventHandlers
, ev
: TransitionEvent
) => any
Inherited from
HTMLElement.ontransitionrun
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5791
ontransitionstart
• ontransitionstart: null
\| (this
: GlobalEventHandlers
, ev
: TransitionEvent
) => any
Inherited from
HTMLElement.ontransitionstart
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5792
onvolumechange
• onvolumechange: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when the volume is changed, or playback is muted or unmuted.
param
The event.
Inherited from
HTMLElement.onvolumechange
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5797
onwaiting
• onwaiting: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
Occurs when playback stops because the next frame of a video resource is not available.
param
The event.
Inherited from
HTMLElement.onwaiting
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5802
onwebkitanimationend
• onwebkitanimationend: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
deprecated
This is a legacy alias of onanimationend
.
Inherited from
HTMLElement.onwebkitanimationend
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5804
onwebkitanimationiteration
• onwebkitanimationiteration: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
deprecated
This is a legacy alias of onanimationiteration
.
Inherited from
HTMLElement.onwebkitanimationiteration
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5806
onwebkitanimationstart
• onwebkitanimationstart: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
deprecated
This is a legacy alias of onanimationstart
.
Inherited from
HTMLElement.onwebkitanimationstart
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5808
onwebkittransitionend
• onwebkittransitionend: null
\| (this
: GlobalEventHandlers
, ev
: Event
) => any
deprecated
This is a legacy alias of ontransitionend
.
Inherited from
HTMLElement.onwebkittransitionend
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5810
onwheel
• onwheel: null
\| (this
: GlobalEventHandlers
, ev
: WheelEvent
) => any
Inherited from
HTMLElement.onwheel
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5811
outerHTML
• outerHTML: string
Inherited from
HTMLElement.outerHTML
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4785
outerText
• outerText: string
Inherited from
HTMLElement.outerText
Defined in
node_modules/typescript/lib/lib.dom.d.ts:6236
ownerDocument
• Readonly
ownerDocument: Document
Inherited from
HTMLElement.ownerDocument
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4786
parentElement
• Readonly
parentElement: null
\| HTMLElement
Returns the parent element.
Inherited from
HTMLElement.parentElement
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9794
parentNode
• Readonly
parentNode: null
\| ParentNode
Returns the parent.
Inherited from
HTMLElement.parentNode
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9796
part
• Readonly
part: DOMTokenList
Inherited from
HTMLElement.part
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4787
prefix
• Readonly
prefix: null
\| string
Returns the namespace prefix.
Inherited from
HTMLElement.prefix
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4789
previousElementSibling
• Readonly
previousElementSibling: null
\| Element
Returns the first preceding sibling that is an element, and null otherwise.
Inherited from
HTMLElement.previousElementSibling
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9944
previousSibling
• Readonly
previousSibling: null
\| ChildNode
Returns the previous sibling.
Inherited from
HTMLElement.previousSibling
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9798
review
• review: boolean
Defined in
src/components/activities/DeliveryElement.ts:214
scrollHeight
• Readonly
scrollHeight: number
Inherited from
HTMLElement.scrollHeight
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4790
scrollLeft
• scrollLeft: number
Inherited from
HTMLElement.scrollLeft
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4791
scrollTop
• scrollTop: number
Inherited from
HTMLElement.scrollTop
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4792
scrollWidth
• Readonly
scrollWidth: number
Inherited from
HTMLElement.scrollWidth
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4793
shadowRoot
• Readonly
shadowRoot: null
\| ShadowRoot
Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.
Inherited from
HTMLElement.shadowRoot
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4795
slot
• slot: string
Returns the value of element's slot content attribute. Can be set to change it.
Inherited from
HTMLElement.slot
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4797
spellcheck
• spellcheck: boolean
Inherited from
HTMLElement.spellcheck
Defined in
node_modules/typescript/lib/lib.dom.d.ts:6237
style
• Readonly
style: CSSStyleDeclaration
Inherited from
HTMLElement.style
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4883
tabIndex
• tabIndex: number
Inherited from
HTMLElement.tabIndex
Defined in
node_modules/typescript/lib/lib.dom.d.ts:7430
tagName
• Readonly
tagName: string
Returns the HTML-uppercased qualified name.
Inherited from
HTMLElement.tagName
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4799
textContent
• textContent: null
\| string
Inherited from
HTMLElement.textContent
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9799
title
• title: string
Inherited from
HTMLElement.title
Defined in
node_modules/typescript/lib/lib.dom.d.ts:6238
translate
• translate: boolean
Inherited from
HTMLElement.translate
Defined in
node_modules/typescript/lib/lib.dom.d.ts:6239
Accessors
observedAttributes
• Static
get
observedAttributes(): string
[]
Returns
string
[]
Defined in
src/components/activities/DeliveryElement.ts:286
Methods
addEventListener
▸ addEventListener<K
>(type
, listener
, options?
): void
Type parameters
Name | Type |
---|---|
K | extends keyof HTMLElementEventMap |
Parameters
Name | Type |
---|---|
type | K |
listener | (this : HTMLElement , ev : HTMLElementEventMap [K ]) => any |
options? | boolean | AddEventListenerOptions |
Returns
void
Inherited from
HTMLElement.addEventListener
Defined in
node_modules/typescript/lib/lib.dom.d.ts:6242
▸ addEventListener(type
, listener
, options?
): void
Parameters
Name | Type |
---|---|
type | string |
listener | EventListenerOrEventListenerObject |
options? | boolean | AddEventListenerOptions |
Returns
void
Inherited from
HTMLElement.addEventListener
Defined in
node_modules/typescript/lib/lib.dom.d.ts:6243
after
▸ after(...nodes
): 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.
Parameters
Name | Type |
---|---|
...nodes | (string | Node )[] |
Returns
void
Inherited from
HTMLElement.after
Defined in
node_modules/typescript/lib/lib.dom.d.ts:3497
animate
▸ animate(keyframes
, options?
): Animation
Parameters
Name | Type |
---|---|
keyframes | null | Keyframe [] | PropertyIndexedKeyframes |
options? | number | KeyframeAnimationOptions |
Returns
Animation
Inherited from
HTMLElement.animate
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1978
append
▸ append(...nodes
): 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.
Parameters
Name | Type |
---|---|
...nodes | (string | Node )[] |
Returns
void
Inherited from
HTMLElement.append
Defined in
node_modules/typescript/lib/lib.dom.d.ts:10152
appendChild
▸ appendChild<T
>(node
): T
Type parameters
Name | Type |
---|---|
T | extends Node |
Parameters
Name | Type |
---|---|
node | T |
Returns
T
Inherited from
HTMLElement.appendChild
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9800
attachInternals
▸ attachInternals(): ElementInternals
Returns
ElementInternals
Inherited from
HTMLElement.attachInternals
Defined in
node_modules/typescript/lib/lib.dom.d.ts:6240
attachShadow
▸ attachShadow(init
): ShadowRoot
Creates a shadow root for element and returns it.
Parameters
Name | Type |
---|---|
init | ShadowRootInit |
Returns
ShadowRoot
Inherited from
HTMLElement.attachShadow
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4801
attributeChangedCallback
▸ attributeChangedCallback(_name
, _oldValue
, _newValue
): void
Parameters
Name | Type |
---|---|
_name | any |
_oldValue | any |
_newValue | any |
Returns
void
Defined in
src/components/activities/DeliveryElement.ts:390
before
▸ before(...nodes
): 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.
Parameters
Name | Type |
---|---|
...nodes | (string | Node )[] |
Returns
void
Inherited from
HTMLElement.before
Defined in
node_modules/typescript/lib/lib.dom.d.ts:3503
blur
▸ blur(): void
Returns
void
Inherited from
HTMLElement.blur
Defined in
node_modules/typescript/lib/lib.dom.d.ts:7431
click
▸ click(): void
Returns
void
Inherited from
HTMLElement.click
Defined in
node_modules/typescript/lib/lib.dom.d.ts:6241
cloneNode
▸ cloneNode(deep?
): Node
Returns a copy of node. If deep is true, the copy also includes the node's descendants.
Parameters
Name | Type |
---|---|
deep? | boolean |
Returns
Inherited from
HTMLElement.cloneNode
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9802
closest
▸ closest<K
>(selector
): null
\| HTMLElementTagNameMap
[K
]
Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise.
Type parameters
Name | Type |
---|---|
K | extends keyof HTMLElementTagNameMap |
Parameters
Name | Type |
---|---|
selector | K |
Returns
null
\| HTMLElementTagNameMap
[K
]
Inherited from
HTMLElement.closest
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4803
▸ closest<K
>(selector
): null
\| SVGElementTagNameMap
[K
]
Type parameters
Name | Type |
---|---|
K | extends keyof SVGElementTagNameMap |
Parameters
Name | Type |
---|---|
selector | K |
Returns
null
\| SVGElementTagNameMap
[K
]
Inherited from
HTMLElement.closest
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4804
▸ closest<E
>(selectors
): null
\| E
Type parameters
Name | Type |
---|---|
E | extends Element = Element |
Parameters
Name | Type |
---|---|
selectors | string |
Returns
null
\| E
Inherited from
HTMLElement.closest
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4805
compareDocumentPosition
▸ compareDocumentPosition(other
): number
Returns a bitmask indicating the position of other relative to node.
Parameters
Name | Type |
---|---|
other | Node |
Returns
number
Inherited from
HTMLElement.compareDocumentPosition
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9804
connectedCallback
▸ connectedCallback(): void
Returns
void
Defined in
src/components/activities/DeliveryElement.ts:381
contains
▸ contains(other
): boolean
Returns true if other is an inclusive descendant of node, and false otherwise.
Parameters
Name | Type |
---|---|
other | null | Node |
Returns
boolean
Inherited from
HTMLElement.contains
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9806
details
▸ details(continuation
, attemptGuid
, partAttemptGuid
, payload?
): Object
Parameters
Name | Type |
---|---|
continuation | (result : any , error : any ) => void |
attemptGuid | string |
partAttemptGuid | undefined | string |
payload? | any |
Returns
Object
Name | Type |
---|---|
bubbles | boolean |
detail | { attemptGuid : string ; continuation : (result : any , error : any ) => void ; partAttemptGuid : undefined | string ; payload : any ; props : DeliveryElementProps <T > ; sectionSlug : string = props.context.sectionSlug } |
detail.attemptGuid | string |
detail.continuation | (result : any , error : any ) => void |
detail.partAttemptGuid | undefined | string |
detail.payload | any |
detail.props | DeliveryElementProps <T > |
detail.sectionSlug | string |
Defined in
src/components/activities/DeliveryElement.ts:349
dispatch
▸ dispatch(name
, attemptGuid
, partAttemptGuid
, payload?
): Promise
<any
>
Parameters
Name | Type |
---|---|
name | string |
attemptGuid | string |
partAttemptGuid | undefined | string |
payload? | any |
Returns
Promise
<any
>
Defined in
src/components/activities/DeliveryElement.ts:290
dispatchEvent
▸ dispatchEvent(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.
Parameters
Name | Type |
---|---|
event | Event |
Returns
boolean
Inherited from
HTMLElement.dispatchEvent
Defined in
node_modules/typescript/lib/lib.dom.d.ts:5033
focus
▸ focus(options?
): void
Parameters
Name | Type |
---|---|
options? | FocusOptions |
Returns
void
Inherited from
HTMLElement.focus
Defined in
node_modules/typescript/lib/lib.dom.d.ts:7432
getAnimations
▸ getAnimations(options?
): Animation
[]
Parameters
Name | Type |
---|---|
options? | GetAnimationsOptions |
Returns
Animation
[]
Inherited from
HTMLElement.getAnimations
Defined in
node_modules/typescript/lib/lib.dom.d.ts:1979
getAttribute
▸ getAttribute(qualifiedName
): null
\| string
Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise.
Parameters
Name | Type |
---|---|
qualifiedName | string |
Returns
null
\| string
Inherited from
HTMLElement.getAttribute
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4807
getAttributeNS
▸ getAttributeNS(namespace
, localName
): null
\| string
Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise.
Parameters
Name | Type |
---|---|
namespace | null | string |
localName | string |
Returns
null
\| string
Inherited from
HTMLElement.getAttributeNS
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4809
getAttributeNames
▸ getAttributeNames(): string
[]
Returns the qualified names of all element's attributes. Can contain duplicates.
Returns
string
[]
Inherited from
HTMLElement.getAttributeNames
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4811
getAttributeNode
▸ getAttributeNode(qualifiedName
): null
\| Attr
Parameters
Name | Type |
---|---|
qualifiedName | string |
Returns
null
\| Attr
Inherited from
HTMLElement.getAttributeNode
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4812
getAttributeNodeNS
▸ getAttributeNodeNS(namespace
, localName
): null
\| Attr
Parameters
Name | Type |
---|---|
namespace | null | string |
localName | string |
Returns
null
\| Attr
Inherited from
HTMLElement.getAttributeNodeNS
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4813
getBoundingClientRect
▸ getBoundingClientRect(): DOMRect
Returns
DOMRect
Inherited from
HTMLElement.getBoundingClientRect
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4814
getClientRects
▸ getClientRects(): DOMRectList
Returns
DOMRectList
Inherited from
HTMLElement.getClientRects
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4815
getElementsByClassName
▸ getElementsByClassName(classNames
): HTMLCollectionOf
<Element
>
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.
Parameters
Name | Type |
---|---|
classNames | string |
Returns
HTMLCollectionOf
<Element
>
Inherited from
HTMLElement.getElementsByClassName
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4817
getElementsByTagName
▸ getElementsByTagName<K
>(qualifiedName
): HTMLCollectionOf
<HTMLElementTagNameMap
[K
]>
Type parameters
Name | Type |
---|---|
K | extends keyof HTMLElementTagNameMap |
Parameters
Name | Type |
---|---|
qualifiedName | K |
Returns
HTMLCollectionOf
<HTMLElementTagNameMap
[K
]>
Inherited from
HTMLElement.getElementsByTagName
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4818
▸ getElementsByTagName<K
>(qualifiedName
): HTMLCollectionOf
<SVGElementTagNameMap
[K
]>
Type parameters
Name | Type |
---|---|
K | extends keyof SVGElementTagNameMap |
Parameters
Name | Type |
---|---|
qualifiedName | K |
Returns
HTMLCollectionOf
<SVGElementTagNameMap
[K
]>
Inherited from
HTMLElement.getElementsByTagName
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4819
▸ getElementsByTagName(qualifiedName
): HTMLCollectionOf
<Element
>
Parameters
Name | Type |
---|---|
qualifiedName | string |
Returns
HTMLCollectionOf
<Element
>
Inherited from
HTMLElement.getElementsByTagName
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4820
getElementsByTagNameNS
▸ getElementsByTagNameNS(namespaceURI
, localName
): HTMLCollectionOf
<HTMLElement
>
Parameters
Name | Type |
---|---|
namespaceURI | "http://www.w3.org/1999/xhtml" |
localName | string |
Returns
HTMLCollectionOf
<HTMLElement
>
Inherited from
HTMLElement.getElementsByTagNameNS
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4821
▸ getElementsByTagNameNS(namespaceURI
, localName
): HTMLCollectionOf
<SVGElement
>
Parameters
Name | Type |
---|---|
namespaceURI | "http://www.w3.org/2000/svg" |
localName | string |
Returns
HTMLCollectionOf
<SVGElement
>
Inherited from
HTMLElement.getElementsByTagNameNS
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4822
▸ getElementsByTagNameNS(namespace
, localName
): HTMLCollectionOf
<Element
>
Parameters
Name | Type |
---|---|
namespace | null | string |
localName | string |
Returns
HTMLCollectionOf
<Element
>
Inherited from
HTMLElement.getElementsByTagNameNS
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4823
getRootNode
▸ getRootNode(options?
): Node
Returns node's root.
Parameters
Name | Type |
---|---|
options? | GetRootNodeOptions |
Returns
Inherited from
HTMLElement.getRootNode
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9808
hasAttribute
▸ hasAttribute(qualifiedName
): boolean
Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise.
Parameters
Name | Type |
---|---|
qualifiedName | string |
Returns
boolean
Inherited from
HTMLElement.hasAttribute
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4825
hasAttributeNS
▸ hasAttributeNS(namespace
, localName
): boolean
Returns true if element has an attribute whose namespace is namespace and local name is localName.
Parameters
Name | Type |
---|---|
namespace | null | string |
localName | string |
Returns
boolean
Inherited from
HTMLElement.hasAttributeNS
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4827
hasAttributes
▸ hasAttributes(): boolean
Returns true if element has attributes, and false otherwise.
Returns
boolean
Inherited from
HTMLElement.hasAttributes
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4829
hasChildNodes
▸ hasChildNodes(): boolean
Returns whether node has children.
Returns
boolean
Inherited from
HTMLElement.hasChildNodes
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9810
hasPointerCapture
▸ hasPointerCapture(pointerId
): boolean
Parameters
Name | Type |
---|---|
pointerId | number |
Returns
boolean
Inherited from
HTMLElement.hasPointerCapture
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4830
insertAdjacentElement
▸ insertAdjacentElement(where
, element
): null
\| Element
Parameters
Name | Type |
---|---|
where | InsertPosition |
element | Element |
Returns
null
\| Element
Inherited from
HTMLElement.insertAdjacentElement
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4831
insertAdjacentHTML
▸ insertAdjacentHTML(position
, text
): void
Parameters
Name | Type |
---|---|
position | InsertPosition |
text | string |
Returns
void
Inherited from
HTMLElement.insertAdjacentHTML
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4832
insertAdjacentText
▸ insertAdjacentText(where
, data
): void
Parameters
Name | Type |
---|---|
where | InsertPosition |
data | string |
Returns
void
Inherited from
HTMLElement.insertAdjacentText
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4833
insertBefore
▸ insertBefore<T
>(node
, child
): T
Type parameters
Name | Type |
---|---|
T | extends Node |
Parameters
Name | Type |
---|---|
node | T |
child | null | Node |
Returns
T
Inherited from
HTMLElement.insertBefore
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9811
isDefaultNamespace
▸ isDefaultNamespace(namespace
): boolean
Parameters
Name | Type |
---|---|
namespace | null | string |
Returns
boolean
Inherited from
HTMLElement.isDefaultNamespace
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9812
isEqualNode
▸ isEqualNode(otherNode
): boolean
Returns whether node and otherNode have the same properties.
Parameters
Name | Type |
---|---|
otherNode | null | Node |
Returns
boolean
Inherited from
HTMLElement.isEqualNode
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9814
isSameNode
▸ isSameNode(otherNode
): boolean
Parameters
Name | Type |
---|---|
otherNode | null | Node |
Returns
boolean
Inherited from
HTMLElement.isSameNode
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9815
lookupNamespaceURI
▸ lookupNamespaceURI(prefix
): null
\| string
Parameters
Name | Type |
---|---|
prefix | null | string |
Returns
null
\| string
Inherited from
HTMLElement.lookupNamespaceURI
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9816
lookupPrefix
▸ lookupPrefix(namespace
): null
\| string
Parameters
Name | Type |
---|---|
namespace | null | string |
Returns
null
\| string
Inherited from
HTMLElement.lookupPrefix
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9817
matches
▸ matches(selectors
): boolean
Returns true if matching selectors against element's root yields element, and false otherwise.
Parameters
Name | Type |
---|---|
selectors | string |
Returns
boolean
Inherited from
HTMLElement.matches
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4835
normalize
▸ normalize(): void
Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes.
Returns
void
Inherited from
HTMLElement.normalize
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9819
notify
▸ notify(eventName
, payload
): void
Parameters
Name | Type |
---|---|
eventName | string |
payload | any |
Returns
void
Defined in
src/components/activities/DeliveryElement.ts:314
prepend
▸ prepend(...nodes
): 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.
Parameters
Name | Type |
---|---|
...nodes | (string | Node )[] |
Returns
void
Inherited from
HTMLElement.prepend
Defined in
node_modules/typescript/lib/lib.dom.d.ts:10158
props
▸ props(): DeliveryElementProps
<T
>
Returns
Defined in
src/components/activities/DeliveryElement.ts:318
querySelector
▸ querySelector<K
>(selectors
): null
\| HTMLElementTagNameMap
[K
]
Returns the first element that is a descendant of node that matches selectors.
Type parameters
Name | Type |
---|---|
K | extends keyof HTMLElementTagNameMap |
Parameters
Name | Type |
---|---|
selectors | K |
Returns
null
\| HTMLElementTagNameMap
[K
]
Inherited from
HTMLElement.querySelector
Defined in
node_modules/typescript/lib/lib.dom.d.ts:10160
▸ querySelector<K
>(selectors
): null
\| SVGElementTagNameMap
[K
]
Type parameters
Name | Type |
---|---|
K | extends keyof SVGElementTagNameMap |
Parameters
Name | Type |
---|---|
selectors | K |
Returns
null
\| SVGElementTagNameMap
[K
]
Inherited from
HTMLElement.querySelector
Defined in
node_modules/typescript/lib/lib.dom.d.ts:10161
▸ querySelector<E
>(selectors
): null
\| E
Type parameters
Name | Type |
---|---|
E | extends Element = Element |
Parameters
Name | Type |
---|---|
selectors | string |
Returns
null
\| E
Inherited from
HTMLElement.querySelector
Defined in
node_modules/typescript/lib/lib.dom.d.ts:10162
querySelectorAll
▸ querySelectorAll<K
>(selectors
): NodeListOf
<HTMLElementTagNameMap
[K
]>
Returns all element descendants of node that match selectors.
Type parameters
Name | Type |
---|---|
K | extends keyof HTMLElementTagNameMap |
Parameters
Name | Type |
---|---|
selectors | K |
Returns
NodeListOf
<HTMLElementTagNameMap
[K
]>
Inherited from
HTMLElement.querySelectorAll
Defined in
node_modules/typescript/lib/lib.dom.d.ts:10164
▸ querySelectorAll<K
>(selectors
): NodeListOf
<SVGElementTagNameMap
[K
]>
Type parameters
Name | Type |
---|---|
K | extends keyof SVGElementTagNameMap |
Parameters
Name | Type |
---|---|
selectors | K |
Returns
NodeListOf
<SVGElementTagNameMap
[K
]>
Inherited from
HTMLElement.querySelectorAll
Defined in
node_modules/typescript/lib/lib.dom.d.ts:10165
▸ querySelectorAll<E
>(selectors
): NodeListOf
<E
>
Type parameters
Name | Type |
---|---|
E | extends Element = Element |
Parameters
Name | Type |
---|---|
selectors | string |
Returns
NodeListOf
<E
>
Inherited from
HTMLElement.querySelectorAll
Defined in
node_modules/typescript/lib/lib.dom.d.ts:10166
releasePointerCapture
▸ releasePointerCapture(pointerId
): void
Parameters
Name | Type |
---|---|
pointerId | number |
Returns
void
Inherited from
HTMLElement.releasePointerCapture
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4836
remove
▸ remove(): void
Removes node.
Returns
void
Inherited from
HTMLElement.remove
Defined in
node_modules/typescript/lib/lib.dom.d.ts:3505
removeAttribute
▸ removeAttribute(qualifiedName
): void
Removes element's first attribute whose qualified name is qualifiedName.
Parameters
Name | Type |
---|---|
qualifiedName | string |
Returns
void
Inherited from
HTMLElement.removeAttribute
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4838
removeAttributeNS
▸ removeAttributeNS(namespace
, localName
): void
Removes element's attribute whose namespace is namespace and local name is localName.
Parameters
Name | Type |
---|---|
namespace | null | string |
localName | string |
Returns
void
Inherited from
HTMLElement.removeAttributeNS
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4840
removeAttributeNode
▸ removeAttributeNode(attr
): Attr
Parameters
Name | Type |
---|---|
attr | Attr |
Returns
Attr
Inherited from
HTMLElement.removeAttributeNode
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4841
removeChild
▸ removeChild<T
>(child
): T
Type parameters
Name | Type |
---|---|
T | extends Node |
Parameters
Name | Type |
---|---|
child | T |
Returns
T
Inherited from
HTMLElement.removeChild
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9820
removeEventListener
▸ removeEventListener<K
>(type
, listener
, options?
): void
Type parameters
Name | Type |
---|---|
K | extends keyof HTMLElementEventMap |
Parameters
Name | Type |
---|---|
type | K |
listener | (this : HTMLElement , ev : HTMLElementEventMap [K ]) => any |
options? | boolean | EventListenerOptions |
Returns
void
Inherited from
HTMLElement.removeEventListener
Defined in
node_modules/typescript/lib/lib.dom.d.ts:6244
▸ removeEventListener(type
, listener
, options?
): void
Parameters
Name | Type |
---|---|
type | string |
listener | EventListenerOrEventListenerObject |
options? | boolean | EventListenerOptions |
Returns
void
Inherited from
HTMLElement.removeEventListener
Defined in
node_modules/typescript/lib/lib.dom.d.ts:6245
render
▸ Abstract
render(mountPoint
, props
): void
Implemented by concrete web component, the render
method is called
once after the web component has been mounted and "connected" to the DOM, and
then again every time that either the state
or model
attributes have
changed on the web component.
Parameters
Name | Type | Description |
---|---|---|
mountPoint | HTMLDivElement | a top level div element created by the component that the concrete impl can use to render the rest of the actual UX |
props | DeliveryElementProps <T > | the current set of delivery component properties |
Returns
void
Defined in
src/components/activities/DeliveryElement.ts:379
replaceChild
▸ replaceChild<T
>(node
, child
): T
Type parameters
Name | Type |
---|---|
T | extends Node |
Parameters
Name | Type |
---|---|
node | Node |
child | T |
Returns
T
Inherited from
HTMLElement.replaceChild
Defined in
node_modules/typescript/lib/lib.dom.d.ts:9821
replaceChildren
▸ replaceChildren(...nodes
): 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.
Parameters
Name | Type |
---|---|
...nodes | (string | Node )[] |
Returns
void
Inherited from
HTMLElement.replaceChildren
Defined in
node_modules/typescript/lib/lib.dom.d.ts:10172
replaceWith
▸ replaceWith(...nodes
): 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.
Parameters
Name | Type |
---|---|
...nodes | (string | Node )[] |
Returns
void
Inherited from
HTMLElement.replaceWith
Defined in
node_modules/typescript/lib/lib.dom.d.ts:3511
requestFullscreen
▸ requestFullscreen(options?
): Promise
<void
>
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.
Parameters
Name | Type |
---|---|
options? | FullscreenOptions |
Returns
Promise
<void
>
Inherited from
HTMLElement.requestFullscreen
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4847
requestPointerLock
▸ requestPointerLock(): void
Returns
void
Inherited from
HTMLElement.requestPointerLock
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4848
scroll
▸ scroll(options?
): void
Parameters
Name | Type |
---|---|
options? | ScrollToOptions |
Returns
void
Inherited from
HTMLElement.scroll
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4849
▸ scroll(x
, y
): void
Parameters
Name | Type |
---|---|
x | number |
y | number |
Returns
void
Inherited from
HTMLElement.scroll
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4850
scrollBy
▸ scrollBy(options?
): void
Parameters
Name | Type |
---|---|
options? | ScrollToOptions |
Returns
void
Inherited from
HTMLElement.scrollBy
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4851
▸ scrollBy(x
, y
): void
Parameters
Name | Type |
---|---|
x | number |
y | number |
Returns
void
Inherited from
HTMLElement.scrollBy
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4852
scrollIntoView
▸ scrollIntoView(arg?
): void
Parameters
Name | Type |
---|---|
arg? | boolean | ScrollIntoViewOptions |
Returns
void
Inherited from
HTMLElement.scrollIntoView
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4853
scrollTo
▸ scrollTo(options?
): void
Parameters
Name | Type |
---|---|
options? | ScrollToOptions |
Returns
void
Inherited from
HTMLElement.scrollTo
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4854
▸ scrollTo(x
, y
): void
Parameters
Name | Type |
---|---|
x | number |
y | number |
Returns
void
Inherited from
HTMLElement.scrollTo
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4855
setAttribute
▸ setAttribute(qualifiedName
, value
): void
Sets the value of element's first attribute whose qualified name is qualifiedName to value.
Parameters
Name | Type |
---|---|
qualifiedName | string |
value | string |
Returns
void
Inherited from
HTMLElement.setAttribute
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4857
setAttributeNS
▸ setAttributeNS(namespace
, qualifiedName
, value
): void
Sets the value of element's attribute whose namespace is namespace and local name is localName to value.
Parameters
Name | Type |
---|---|
namespace | null | string |
qualifiedName | string |
value | string |
Returns
void
Inherited from
HTMLElement.setAttributeNS
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4859
setAttributeNode
▸ setAttributeNode(attr
): null
\| Attr
Parameters
Name | Type |
---|---|
attr | Attr |
Returns
null
\| Attr
Inherited from
HTMLElement.setAttributeNode
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4860
setAttributeNodeNS
▸ setAttributeNodeNS(attr
): null
\| Attr
Parameters
Name | Type |
---|---|
attr | Attr |
Returns
null
\| Attr
Inherited from
HTMLElement.setAttributeNodeNS
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4861
setPointerCapture
▸ setPointerCapture(pointerId
): void
Parameters
Name | Type |
---|---|
pointerId | number |
Returns
void
Inherited from
HTMLElement.setPointerCapture
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4862
toggleAttribute
▸ toggleAttribute(qualifiedName
, force?
): 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.
Parameters
Name | Type |
---|---|
qualifiedName | string |
force? | boolean |
Returns
boolean
Inherited from
HTMLElement.toggleAttribute
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4868
webkitMatchesSelector
▸ webkitMatchesSelector(selectors
): boolean
deprecated
This is a legacy alias of matches
.
Parameters
Name | Type |
---|---|
selectors | string |
Returns
boolean
Inherited from
HTMLElement.webkitMatchesSelector
Defined in
node_modules/typescript/lib/lib.dom.d.ts:4870