Interface: ITemplateEditor
Hierarchy
-
HTMLElement
↳ ITemplateEditor
Index
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
- HTMLElement
- NOTATION_NODE
- PROCESSING_INSTRUCTION_NODE
- TEXT_NODE
- accessKey
- accessKeyLabel
- assignedSlot
- attributes
- autocapitalize
- baseURI
- childElementCount
- childNodes
- children
- classList
- className
- clientHeight
- clientLeft
- clientTop
- clientWidth
- configuration
- contentEditable
- dataset
- dir
- draggable
- firstChild
- firstElementChild
- hidden
- id
- innerHTML
- innerText
- inputMode
- isConnected
- isContentEditable
- lang
- lastChild
- lastElementChild
- localName
- namespaceURI
- nextElementSibling
- nextSibling
- nodeName
- nodeType
- nodeValue
- nonce
- offsetHeight
- offsetLeft
- offsetParent
- offsetTop
- offsetWidth
- onabort
- onanimationcancel
- onanimationend
- onanimationiteration
- onanimationstart
- onauxclick
- onblur
- oncancel
- oncanplay
- oncanplaythrough
- onchange
- onclick
- onclose
- oncontextmenu
- oncopy
- oncuechange
- oncut
- ondblclick
- ondrag
- ondragend
- ondragenter
- ondragexit
- ondragleave
- ondragover
- ondragstart
- ondrop
- ondurationchange
- onemptied
- onended
- onerror
- onfocus
- onfullscreenchange
- onfullscreenerror
- ongotpointercapture
- oninput
- oninvalid
- onkeydown
- onkeypress
- onkeyup
- onload
- onloadeddata
- onloadedmetadata
- onloadend
- 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
- onstalled
- onsubmit
- onsuspend
- ontimeupdate
- ontoggle
- ontouchcancel
- ontouchend
- ontouchmove
- ontouchstart
- ontransitioncancel
- ontransitionend
- ontransitionrun
- ontransitionstart
- onvolumechange
- onwaiting
- onwheel
- outerHTML
- ownerDocument
- parentElement
- parentNode
- prefix
- previousElementSibling
- previousSibling
- scrollHeight
- scrollLeft
- scrollTop
- scrollWidth
- shadowRoot
- slot
- spellcheck
- style
- tabIndex
- tagName
- textContent
- title
- translate
Methods
- addEventListener
- addLocalization
- after
- animate
- append
- appendChild
- attachShadow
- before
- blur
- click
- cloneNode
- closest
- compareDocumentPosition
- contains
- 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
- msGetRegionContent
- normalize
- prepend
- querySelector
- querySelectorAll
- releasePointerCapture
- remove
- removeAttribute
- removeAttributeNS
- removeAttributeNode
- removeChild
- removeEventListener
- replaceChild
- replaceWith
- requestFullscreen
- requestPointerLock
- scroll
- scrollBy
- scrollIntoView
- scrollTo
- setAttribute
- setAttributeNS
- setAttributeNode
- setAttributeNodeNS
- setLanguage
- setPointerCapture
- toggleAttribute
- webkitMatchesSelector
Properties
ATTRIBUTE_NODE
• ATTRIBUTE_NODE: number
Inherited from void
CDATA_SECTION_NODE
• CDATA_SECTION_NODE: number
Inherited from void
node is a CDATASection node.
COMMENT_NODE
• COMMENT_NODE: number
Inherited from void
node is a Comment node.
DOCUMENT_FRAGMENT_NODE
• DOCUMENT_FRAGMENT_NODE: number
Inherited from void
node is a DocumentFragment node.
DOCUMENT_NODE
• DOCUMENT_NODE: number
Inherited from void
node is a document.
DOCUMENT_POSITION_CONTAINED_BY
• DOCUMENT_POSITION_CONTAINED_BY: number
Inherited from void
Set when other is a descendant of node.
DOCUMENT_POSITION_CONTAINS
• DOCUMENT_POSITION_CONTAINS: number
Inherited from void
Set when other is an ancestor of node.
DOCUMENT_POSITION_DISCONNECTED
• DOCUMENT_POSITION_DISCONNECTED: number
Inherited from void
Set when node and other are not in the same tree.
DOCUMENT_POSITION_FOLLOWING
• DOCUMENT_POSITION_FOLLOWING: number
Inherited from void
Set when other is following node.
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
• DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number
Inherited from void
DOCUMENT_POSITION_PRECEDING
• DOCUMENT_POSITION_PRECEDING: number
Inherited from void
Set when other is preceding node.
DOCUMENT_TYPE_NODE
• DOCUMENT_TYPE_NODE: number
Inherited from void
node is a doctype.
ELEMENT_NODE
• ELEMENT_NODE: number
Inherited from void
node is an element.
ENTITY_NODE
• ENTITY_NODE: number
Inherited from void
ENTITY_REFERENCE_NODE
• ENTITY_REFERENCE_NODE: number
Inherited from void
HTMLElement
• HTMLElement: object
Type declaration:
-
new __type(): HTMLElement
-
prototype: HTMLElement
NOTATION_NODE
• NOTATION_NODE: number
Inherited from void
PROCESSING_INSTRUCTION_NODE
• PROCESSING_INSTRUCTION_NODE: number
Inherited from void
node is a ProcessingInstruction node.
TEXT_NODE
• TEXT_NODE: number
Inherited from void
node is a Text node.
accessKey
• accessKey: string
Inherited from void
accessKeyLabel
• accessKeyLabel: string
Inherited from void
assignedSlot
• assignedSlot: HTMLSlotElement | null
Inherited from void
Overrides void
attributes
• attributes: NamedNodeMap
Inherited from void
autocapitalize
• autocapitalize: string
Inherited from void
baseURI
• baseURI: string
Inherited from void
Returns node's node document's document base URL.
childElementCount
• childElementCount: number
Inherited from void
childNodes
• childNodes: NodeListOf‹ChildNode›
Inherited from void
Returns the children.
children
• children: HTMLCollection
Inherited from void
Returns the child elements.
classList
• classList: DOMTokenList
Inherited from void
Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.
className
• className: string
Inherited from void
Returns the value of element's class content attribute. Can be set to change it.
clientHeight
• clientHeight: number
Inherited from void
clientLeft
• clientLeft: number
Inherited from void
clientTop
• clientTop: number
Inherited from void
clientWidth
• clientWidth: number
Inherited from void
configuration
• configuration: ITemplateEditorConfiguration
contentEditable
• contentEditable: string
Inherited from void
dataset
• dataset: DOMStringMap
Inherited from void
dir
• dir: string
Inherited from void
draggable
• draggable: boolean
Inherited from void
firstChild
• firstChild: ChildNode | null
Inherited from void
Returns the first child.
firstElementChild
• firstElementChild: Element | null
Inherited from void
Returns the first child that is an element, and null otherwise.
hidden
• hidden: boolean
Inherited from void
id
• id: string
Inherited from void
Returns the value of element's id content attribute. Can be set to change it.
innerHTML
• innerHTML: string
Inherited from void
innerText
• innerText: string
Inherited from void
inputMode
• inputMode: string
Inherited from void
isConnected
• isConnected: boolean
Inherited from void
Returns true if node is connected and false otherwise.
isContentEditable
• isContentEditable: boolean
Inherited from void
lang
• lang: string
Inherited from void
lastChild
• lastChild: ChildNode | null
Inherited from void
Returns the last child.
lastElementChild
• lastElementChild: Element | null
Inherited from void
Returns the last child that is an element, and null otherwise.
localName
• localName: string
Inherited from void
Returns the local name.
namespaceURI
• namespaceURI: string | null
Inherited from void
Overrides void
Returns the namespace.
nextElementSibling
• nextElementSibling: Element | null
Inherited from void
Returns the first following sibling that is an element, and null otherwise.
nextSibling
• nextSibling: ChildNode | null
Inherited from void
Returns the next sibling.
nodeName
• nodeName: string
Inherited from void
Returns a string appropriate for the type of node.
nodeType
• nodeType: number
Inherited from void
Returns the type of node.
nodeValue
• nodeValue: string | null
Inherited from void
Optional
nonce
• nonce? : string
Inherited from void
offsetHeight
• offsetHeight: number
Inherited from void
offsetLeft
• offsetLeft: number
Inherited from void
offsetParent
• offsetParent: Element | null
Inherited from void
offsetTop
• offsetTop: number
Inherited from void
offsetWidth
• offsetWidth: number
Inherited from void
onabort
• onabort: function | null
Inherited from void
Fires when the user aborts the download.
param
The event.
onanimationcancel
• onanimationcancel: function | null
Inherited from void
onanimationend
• onanimationend: function | null
Inherited from void
onanimationiteration
• onanimationiteration: function | null
Inherited from void
onanimationstart
• onanimationstart: function | null
Inherited from void
onauxclick
• onauxclick: function | null
Inherited from void
onblur
• onblur: function | null
Inherited from void
Fires when the object loses the input focus.
param
The focus event.
oncancel
• oncancel: function | null
Inherited from void
oncanplay
• oncanplay: function | null
Inherited from void
Occurs when playback is possible, but would require further buffering.
param
The event.
oncanplaythrough
• oncanplaythrough: function | null
Inherited from void
onchange
• onchange: function | null
Inherited from void
Fires when the contents of the object or selection have changed.
param
The event.
onclick
• onclick: function | null
Inherited from void
Fires when the user clicks the left mouse button on the object
param
The mouse event.
onclose
• onclose: function | null
Inherited from void
oncontextmenu
• oncontextmenu: function | null
Inherited from void
Fires when the user clicks the right mouse button in the client area, opening the context menu.
param
The mouse event.
oncopy
• oncopy: function | null
Inherited from void
oncuechange
• oncuechange: function | null
Inherited from void
oncut
• oncut: function | null
Inherited from void
ondblclick
• ondblclick: function | null
Inherited from void
Fires when the user double-clicks the object.
param
The mouse event.
ondrag
• ondrag: function | null
Inherited from void
Fires on the source object continuously during a drag operation.
param
The event.
ondragend
• ondragend: function | null
Inherited from void
Fires on the source object when the user releases the mouse at the close of a drag operation.
param
The event.
ondragenter
• ondragenter: function | null
Inherited from void
Fires on the target element when the user drags the object to a valid drop target.
param
The drag event.
ondragexit
• ondragexit: function | null
Inherited from void
ondragleave
• ondragleave: function | null
Inherited from void
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.
ondragover
• ondragover: function | null
Inherited from void
Fires on the target element continuously while the user drags the object over a valid drop target.
param
The event.
ondragstart
• ondragstart: function | null
Inherited from void
Fires on the source object when the user starts to drag a text selection or selected object.
param
The event.
ondrop
• ondrop: function | null
Inherited from void
ondurationchange
• ondurationchange: function | null
Inherited from void
Occurs when the duration attribute is updated.
param
The event.
onemptied
• onemptied: function | null
Inherited from void
Occurs when the media element is reset to its initial state.
param
The event.
onended
• onended: function | null
Inherited from void
Occurs when the end of playback is reached.
param
The event
onerror
• onerror: OnErrorEventHandler
Inherited from void
Fires when an error occurs during object loading.
param
The event.
onfocus
• onfocus: function | null
Inherited from void
Fires when the object receives focus.
param
The event.
onfullscreenchange
• onfullscreenchange: function | null
Inherited from void
onfullscreenerror
• onfullscreenerror: function | null
Inherited from void
ongotpointercapture
• ongotpointercapture: function | null
Inherited from void
oninput
• oninput: function | null
Inherited from void
oninvalid
• oninvalid: function | null
Inherited from void
onkeydown
• onkeydown: function | null
Inherited from void
Fires when the user presses a key.
param
The keyboard event
onkeypress
• onkeypress: function | null
Inherited from void
Fires when the user presses an alphanumeric key.
param
The event.
onkeyup
• onkeyup: function | null
Inherited from void
Fires when the user releases a key.
param
The keyboard event
onload
• onload: function | null
Inherited from void
Fires immediately after the browser loads the object.
param
The event.
onloadeddata
• onloadeddata: function | null
Inherited from void
Occurs when media data is loaded at the current playback position.
param
The event.
onloadedmetadata
• onloadedmetadata: function | null
Inherited from void
Occurs when the duration and dimensions of the media have been determined.
param
The event.
onloadend
• onloadend: function | null
Inherited from void
onloadstart
• onloadstart: function | null
Inherited from void
Occurs when Internet Explorer begins looking for media data.
param
The event.
onlostpointercapture
• onlostpointercapture: function | null
Inherited from void
onmousedown
• onmousedown: function | null
Inherited from void
Fires when the user clicks the object with either mouse button.
param
The mouse event.
onmouseenter
• onmouseenter: function | null
Inherited from void
onmouseleave
• onmouseleave: function | null
Inherited from void
onmousemove
• onmousemove: function | null
Inherited from void
Fires when the user moves the mouse over the object.
param
The mouse event.
onmouseout
• onmouseout: function | null
Inherited from void
Fires when the user moves the mouse pointer outside the boundaries of the object.
param
The mouse event.
onmouseover
• onmouseover: function | null
Inherited from void
Fires when the user moves the mouse pointer into the object.
param
The mouse event.
onmouseup
• onmouseup: function | null
Inherited from void
Fires when the user releases a mouse button while the mouse is over the object.
param
The mouse event.
onpaste
• onpaste: function | null
Inherited from void
onpause
• onpause: function | null
Inherited from void
Occurs when playback is paused.
param
The event.
onplay
• onplay: function | null
Inherited from void
Occurs when the play method is requested.
param
The event.
onplaying
• onplaying: function | null
Inherited from void
Occurs when the audio or video has started playing.
param
The event.
onpointercancel
• onpointercancel: function | null
Inherited from void
onpointerdown
• onpointerdown: function | null
Inherited from void
onpointerenter
• onpointerenter: function | null
Inherited from void
onpointerleave
• onpointerleave: function | null
Inherited from void
onpointermove
• onpointermove: function | null
Inherited from void
onpointerout
• onpointerout: function | null
Inherited from void
onpointerover
• onpointerover: function | null
Inherited from void
onpointerup
• onpointerup: function | null
Inherited from void
onprogress
• onprogress: function | null
Inherited from void
Occurs to indicate progress while downloading media data.
param
The event.
onratechange
• onratechange: function | null
Inherited from void
Occurs when the playback rate is increased or decreased.
param
The event.
onreset
• onreset: function | null
Inherited from void
Fires when the user resets a form.
param
The event.
onresize
• onresize: function | null
Inherited from void
onscroll
• onscroll: function | null
Inherited from void
Fires when the user repositions the scroll box in the scroll bar on the object.
param
The event.
onsecuritypolicyviolation
• onsecuritypolicyviolation: function | null
Inherited from void
onseeked
• onseeked: function | null
Inherited from void
Occurs when the seek operation ends.
param
The event.
onseeking
• onseeking: function | null
Inherited from void
Occurs when the current playback position is moved.
param
The event.
onselect
• onselect: function | null
Inherited from void
Fires when the current selection changes.
param
The event.
onselectionchange
• onselectionchange: function | null
Inherited from void
onselectstart
• onselectstart: function | null
Inherited from void
onstalled
• onstalled: function | null
Inherited from void
Occurs when the download has stopped.
param
The event.
onsubmit
• onsubmit: function | null
Inherited from void
onsuspend
• onsuspend: function | null
Inherited from void
Occurs if the load operation has been intentionally halted.
param
The event.
ontimeupdate
• ontimeupdate: function | null
Inherited from void
Occurs to indicate the current playback position.
param
The event.
ontoggle
• ontoggle: function | null
Inherited from void
ontouchcancel
• ontouchcancel: function | null
Inherited from void
ontouchend
• ontouchend: function | null
Inherited from void
ontouchmove
• ontouchmove: function | null
Inherited from void
ontouchstart
• ontouchstart: function | null
Inherited from void
ontransitioncancel
• ontransitioncancel: function | null
Inherited from void
ontransitionend
• ontransitionend: function | null
Inherited from void
ontransitionrun
• ontransitionrun: function | null
Inherited from void
ontransitionstart
• ontransitionstart: function | null
Inherited from void
onvolumechange
• onvolumechange: function | null
Inherited from void
Occurs when the volume is changed, or playback is muted or unmuted.
param
The event.
onwaiting
• onwaiting: function | null
Inherited from void
Occurs when playback stops because the next frame of a video resource is not available.
param
The event.
onwheel
• onwheel: function | null
Inherited from void
outerHTML
• outerHTML: string
Inherited from void
ownerDocument
• ownerDocument: Document | null
Inherited from void
Returns the node document. Returns null for documents.
parentElement
• parentElement: HTMLElement | null
Inherited from void
Returns the parent element.
parentNode
• parentNode: Node & ParentNode | null
Inherited from void
Returns the parent.
prefix
• prefix: string | null
Inherited from void
Returns the namespace prefix.
previousElementSibling
• previousElementSibling: Element | null
Inherited from void
Returns the first preceding sibling that is an element, and null otherwise.
previousSibling
• previousSibling: Node | null
Inherited from void
Returns the previous sibling.
scrollHeight
• scrollHeight: number
Inherited from void
scrollLeft
• scrollLeft: number
Inherited from void
scrollTop
• scrollTop: number
Inherited from void
scrollWidth
• scrollWidth: number
Inherited from void
shadowRoot
• shadowRoot: ShadowRoot | null
Inherited from void
Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise.
slot
• slot: string
Inherited from void
Returns the value of element's slot content attribute. Can be set to change it.
spellcheck
• spellcheck: boolean
Inherited from void
style
• style: CSSStyleDeclaration
Inherited from void
tabIndex
• tabIndex: number
Inherited from void
tagName
• tagName: string
Inherited from void
Returns the HTML-uppercased qualified name.
textContent
• textContent: string | null
Inherited from void
title
• title: string
Inherited from void
translate
• translate: boolean
Inherited from void
Methods
addEventListener
▸ addEventListener<K>(type
: K, listener
: function, options?
: boolean | AddEventListenerOptions): void
Inherited from void
Overrides void
Type parameters:
▪ K: keyof HTMLElementEventMap
Parameters:
▪ type: K
▪ listener: function
▸ (this
: HTMLElement, ev
: HTMLElementEventMap[K]): any
Parameters:
Name | Type |
---|---|
this |
HTMLElement |
ev |
HTMLElementEventMap[K] |
▪Optional
options: boolean | AddEventListenerOptions
Returns:void
▸ addEventListener(type
: string, listener
: EventListenerOrEventListenerObject, options?
: boolean | AddEventListenerOptions): void
Inherited from void
Overrides void
Parameters:
Name | Type |
---|---|
type |
string |
listener |
EventListenerOrEventListenerObject |
options? |
boolean | AddEventListenerOptions |
Returns:void
addLocalization
▸ addLocalization(language
: string, translations
: any, setDefault?
: boolean): any
Parameters:
Name | Type |
---|---|
language |
string |
translations |
any |
setDefault? |
boolean |
Returns:any
after
▸ after(...nodes
: string | Node[]): void
Inherited from 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
animate
▸ animate(keyframes
: Keyframe[] | PropertyIndexedKeyframes | null, options?
: number | KeyframeAnimationOptions): Animation
Inherited from void
Parameters:
Name | Type |
---|---|
keyframes |
Keyframe[] | PropertyIndexedKeyframes | null |
options? |
number | KeyframeAnimationOptions |
Returns:Animation
append
▸ append(...nodes
: string | Node[]): void
Inherited from 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
appendChild
▸ appendChild<T>(newChild
: T): T
Inherited from void
Type parameters:
▪ T: Node
Parameters:
Name | Type |
---|---|
newChild |
T |
Returns:T
attachShadow
▸ attachShadow(init
: ShadowRootInit): ShadowRoot
Inherited from void
Creates a shadow root for element and returns it.
Parameters:
Name | Type |
---|---|
init |
ShadowRootInit |
Returns:ShadowRoot
before
▸ before(...nodes
: string | Node[]): void
Inherited from 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
blur
▸ blur(): void
Inherited from void
Returns:void
click
▸ click(): void
Inherited from void
Returns:void
cloneNode
▸ cloneNode(deep?
: boolean): Node
Inherited from void
Returns a copy of node. If deep is true, the copy also includes the node's descendants.
Parameters:
Name | Type |
---|---|
deep? |
boolean |
Returns:Node
closest
▸ closest<K>(selector
: K): HTMLElementTagNameMap[K] | null
Inherited from void
Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise.
Type parameters:
▪ K: keyof HTMLElementTagNameMap
Parameters:
Name | Type |
---|---|
selector |
K |
Returns:HTMLElementTagNameMap[K] | null
▸ closest<K>(selector
: K): SVGElementTagNameMap[K] | null
Inherited from void
Type parameters:
▪ K: keyof SVGElementTagNameMap
Parameters:
Name | Type |
---|---|
selector |
K |
Returns:SVGElementTagNameMap[K] | null
▸ closest<E>(selector
: string): E | null
Inherited from void
Type parameters:
▪ E: Element
Parameters:
Name | Type |
---|---|
selector |
string |
Returns:E | null
compareDocumentPosition
▸ compareDocumentPosition(other
: Node): number
Inherited from void
Returns a bitmask indicating the position of other relative to node.
Parameters:
Name | Type |
---|---|
other |
Node |
Returns:number
contains
▸ contains(other
: Node | null): boolean
Inherited from void
Returns true if other is an inclusive descendant of node, and false otherwise.
Parameters:
Name | Type |
---|---|
other |
Node | null |
Returns:boolean
dispatchEvent
▸ dispatchEvent(event
: Event): boolean
Inherited from void
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
focus
▸ focus(options?
: FocusOptions): void
Inherited from void
Parameters:
Name | Type |
---|---|
options? |
FocusOptions |
Returns:void
getAnimations
▸ getAnimations(): Animation[]
Inherited from void
Returns:Animation[]
getAttribute
▸ getAttribute(qualifiedName
: string): string | null
Inherited from void
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:string | null
getAttributeNS
▸ getAttributeNS(namespace
: string | null, localName
: string): string | null
Inherited from void
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 |
string | null |
localName |
string |
Returns:string | null
getAttributeNames
▸ getAttributeNames(): string[]
Inherited from void
Returns the qualified names of all element's attributes. Can contain duplicates.
Returns:string[]
getAttributeNode
▸ getAttributeNode(name
: string): Attr | null
Inherited from void
Parameters:
Name | Type |
---|---|
name |
string |
Returns:Attr | null
getAttributeNodeNS
▸ getAttributeNodeNS(namespaceURI
: string, localName
: string): Attr | null
Inherited from void
Parameters:
Name | Type |
---|---|
namespaceURI |
string |
localName |
string |
Returns:Attr | null
getBoundingClientRect
▸ getBoundingClientRect(): DOMRect
Inherited from void
Returns:DOMRect
getClientRects
▸ getClientRects(): DOMRectList
Inherited from void
Returns:DOMRectList
getElementsByClassName
▸ getElementsByClassName(classNames
: string): HTMLCollectionOf‹Element›
Inherited from void
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›
getElementsByTagName
▸ getElementsByTagName<K>(qualifiedName
: K): HTMLCollectionOf‹HTMLElementTagNameMap[K]›
Inherited from void
Type parameters:
▪ K: keyof HTMLElementTagNameMap
Parameters:
Name | Type |
---|---|
qualifiedName |
K |
Returns:HTMLCollectionOf‹HTMLElementTagNameMap[K]›
▸ getElementsByTagName<K>(qualifiedName
: K): HTMLCollectionOf‹SVGElementTagNameMap[K]›
Inherited from void
Type parameters:
▪ K: keyof SVGElementTagNameMap
Parameters:
Name | Type |
---|---|
qualifiedName |
K |
Returns:HTMLCollectionOf‹SVGElementTagNameMap[K]›
▸ getElementsByTagName(qualifiedName
: string): HTMLCollectionOf‹Element›
Inherited from void
Parameters:
Name | Type |
---|---|
qualifiedName |
string |
Returns:HTMLCollectionOf‹Element›
getElementsByTagNameNS
▸ getElementsByTagNameNS(namespaceURI
: "http://www.w3.org/1999/xhtml", localName
: string): HTMLCollectionOf‹HTMLElement›
Inherited from void
Parameters:
Name | Type |
---|---|
namespaceURI |
"http://www.w3.org/1999/xhtml" |
localName |
string |
Returns:HTMLCollectionOf‹HTMLElement›
▸ getElementsByTagNameNS(namespaceURI
: "http://www.w3.org/2000/svg", localName
: string): HTMLCollectionOf‹SVGElement›
Inherited from void
Parameters:
Name | Type |
---|---|
namespaceURI |
"http://www.w3.org/2000/svg" |
localName |
string |
Returns:HTMLCollectionOf‹SVGElement›
▸ getElementsByTagNameNS(namespaceURI
: string, localName
: string): HTMLCollectionOf‹Element›
Inherited from void
Parameters:
Name | Type |
---|---|
namespaceURI |
string |
localName |
string |
Returns:HTMLCollectionOf‹Element›
getRootNode
▸ getRootNode(options?
: GetRootNodeOptions): Node
Inherited from void
Returns node's root.
Parameters:
Name | Type |
---|---|
options? |
GetRootNodeOptions |
Returns:Node
hasAttribute
▸ hasAttribute(qualifiedName
: string): boolean
Inherited from void
Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise.
Parameters:
Name | Type |
---|---|
qualifiedName |
string |
Returns:boolean
hasAttributeNS
▸ hasAttributeNS(namespace
: string | null, localName
: string): boolean
Inherited from void
Returns true if element has an attribute whose namespace is namespace and local name is localName.
Parameters:
Name | Type |
---|---|
namespace |
string | null |
localName |
string |
Returns:boolean
hasAttributes
▸ hasAttributes(): boolean
Inherited from void
Returns true if element has attributes, and false otherwise.
Returns:boolean
hasChildNodes
▸ hasChildNodes(): boolean
Inherited from void
Returns whether node has children.
Returns:boolean
hasPointerCapture
▸ hasPointerCapture(pointerId
: number): boolean
Inherited from void
Parameters:
Name | Type |
---|---|
pointerId |
number |
Returns:boolean
insertAdjacentElement
▸ insertAdjacentElement(position
: InsertPosition, insertedElement
: Element): Element | null
Inherited from void
Parameters:
Name | Type |
---|---|
position |
InsertPosition |
insertedElement |
Element |
Returns:Element | null
insertAdjacentHTML
▸ insertAdjacentHTML(where
: InsertPosition, html
: string): void
Inherited from void
Parameters:
Name | Type |
---|---|
where |
InsertPosition |
html |
string |
Returns:void
insertAdjacentText
▸ insertAdjacentText(where
: InsertPosition, text
: string): void
Inherited from void
Parameters:
Name | Type |
---|---|
where |
InsertPosition |
text |
string |
Returns:void
insertBefore
▸ insertBefore<T>(newChild
: T, refChild
: Node | null): T
Inherited from void
Type parameters:
▪ T: Node
Parameters:
Name | Type |
---|---|
newChild |
T |
refChild |
Node | null |
Returns:T
isDefaultNamespace
▸ isDefaultNamespace(namespace
: string | null): boolean
Inherited from void
Parameters:
Name | Type |
---|---|
namespace |
string | null |
Returns:boolean
isEqualNode
▸ isEqualNode(otherNode
: Node | null): boolean
Inherited from void
Returns whether node and otherNode have the same properties.
Parameters:
Name | Type |
---|---|
otherNode |
Node | null |
Returns:boolean
isSameNode
▸ isSameNode(otherNode
: Node | null): boolean
Inherited from void
Parameters:
Name | Type |
---|---|
otherNode |
Node | null |
Returns:boolean
lookupNamespaceURI
▸ lookupNamespaceURI(prefix
: string | null): string | null
Inherited from void
Parameters:
Name | Type |
---|---|
prefix |
string | null |
Returns:string | null
lookupPrefix
▸ lookupPrefix(namespace
: string | null): string | null
Inherited from void
Parameters:
Name | Type |
---|---|
namespace |
string | null |
Returns:string | null
matches
▸ matches(selectors
: string): boolean
Inherited from void
Returns true if matching selectors against element's root yields element, and false otherwise.
Parameters:
Name | Type |
---|---|
selectors |
string |
Returns:boolean
msGetRegionContent
▸ msGetRegionContent(): any
Inherited from void
Returns:any
normalize
▸ normalize(): void
Inherited from void
Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes.
Returns:void
prepend
▸ prepend(...nodes
: string | Node[]): void
Inherited from 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
querySelector
▸ querySelector<K>(selectors
: K): HTMLElementTagNameMap[K] | null
Inherited from void
Returns the first element that is a descendant of node that matches selectors.
Type parameters:
▪ K: keyof HTMLElementTagNameMap
Parameters:
Name | Type |
---|---|
selectors |
K |
Returns:HTMLElementTagNameMap[K] | null
▸ querySelector<K>(selectors
: K): SVGElementTagNameMap[K] | null
Inherited from void
Type parameters:
▪ K: keyof SVGElementTagNameMap
Parameters:
Name | Type |
---|---|
selectors |
K |
Returns:SVGElementTagNameMap[K] | null
▸ querySelector<E>(selectors
: string): E | null
Inherited from void
Type parameters:
▪ E: Element
Parameters:
Name | Type |
---|---|
selectors |
string |
Returns:E | null
querySelectorAll
▸ querySelectorAll<K>(selectors
: K): NodeListOf‹HTMLElementTagNameMap[K]›
Inherited from void
Returns all element descendants of node that match selectors.
Type parameters:
▪ K: keyof HTMLElementTagNameMap
Parameters:
Name | Type |
---|---|
selectors |
K |
Returns:NodeListOf‹HTMLElementTagNameMap[K]›
▸ querySelectorAll<K>(selectors
: K): NodeListOf‹SVGElementTagNameMap[K]›
Inherited from void
Type parameters:
▪ K: keyof SVGElementTagNameMap
Parameters:
Name | Type |
---|---|
selectors |
K |
Returns:NodeListOf‹SVGElementTagNameMap[K]›
▸ querySelectorAll<E>(selectors
: string): NodeListOf‹E›
Inherited from void
Type parameters:
▪ E: Element
Parameters:
Name | Type |
---|---|
selectors |
string |
Returns:NodeListOf‹E›
releasePointerCapture
▸ releasePointerCapture(pointerId
: number): void
Inherited from void
Parameters:
Name | Type |
---|---|
pointerId |
number |
Returns:void
remove
▸ remove(): void
Inherited from void
Removes node.
Returns:void
removeAttribute
▸ removeAttribute(qualifiedName
: string): void
Inherited from void
Removes element's first attribute whose qualified name is qualifiedName.
Parameters:
Name | Type |
---|---|
qualifiedName |
string |
Returns:void
removeAttributeNS
▸ removeAttributeNS(namespace
: string | null, localName
: string): void
Inherited from void
Removes element's attribute whose namespace is namespace and local name is localName.
Parameters:
Name | Type |
---|---|
namespace |
string | null |
localName |
string |
Returns:void
removeAttributeNode
▸ removeAttributeNode(attr
: Attr): Attr
Inherited from void
Parameters:
Name | Type |
---|---|
attr |
Attr |
Returns:Attr
removeChild
▸ removeChild<T>(oldChild
: T): T
Inherited from void
Type parameters:
▪ T: Node
Parameters:
Name | Type |
---|---|
oldChild |
T |
Returns:T
removeEventListener
▸ removeEventListener<K>(type
: K, listener
: function, options?
: boolean | EventListenerOptions): void
Inherited from void
Overrides void
Type parameters:
▪ K: keyof HTMLElementEventMap
Parameters:
▪ type: K
▪ listener: function
▸ (this
: HTMLElement, ev
: HTMLElementEventMap[K]): any
Parameters:
Name | Type |
---|---|
this |
HTMLElement |
ev |
HTMLElementEventMap[K] |
▪Optional
options: boolean | EventListenerOptions
Returns:void
▸ removeEventListener(type
: string, listener
: EventListenerOrEventListenerObject, options?
: boolean | EventListenerOptions): void
Inherited from void
Overrides void
Parameters:
Name | Type |
---|---|
type |
string |
listener |
EventListenerOrEventListenerObject |
options? |
boolean | EventListenerOptions |
Returns:void
replaceChild
▸ replaceChild<T>(newChild
: Node, oldChild
: T): T
Inherited from void
Type parameters:
▪ T: Node
Parameters:
Name | Type |
---|---|
newChild |
Node |
oldChild |
T |
Returns:T
replaceWith
▸ replaceWith(...nodes
: string | Node[]): void
Inherited from 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
requestFullscreen
▸ requestFullscreen(options?
: FullscreenOptions): Promise‹void›
Inherited from 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›
requestPointerLock
▸ requestPointerLock(): void
Inherited from void
Returns:void
scroll
▸ scroll(options?
: ScrollToOptions): void
Inherited from void
Parameters:
Name | Type |
---|---|
options? |
ScrollToOptions |
Returns:void
▸ scroll(x
: number, y
: number): void
Inherited from void
Parameters:
Name | Type |
---|---|
x |
number |
y |
number |
Returns:void
scrollBy
▸ scrollBy(options?
: ScrollToOptions): void
Inherited from void
Parameters:
Name | Type |
---|---|
options? |
ScrollToOptions |
Returns:void
▸ scrollBy(x
: number, y
: number): void
Inherited from void
Parameters:
Name | Type |
---|---|
x |
number |
y |
number |
Returns:void
scrollIntoView
▸ scrollIntoView(arg?
: boolean | ScrollIntoViewOptions): void
Inherited from void
Parameters:
Name | Type |
---|---|
arg? |
boolean | ScrollIntoViewOptions |
Returns:void
scrollTo
▸ scrollTo(options?
: ScrollToOptions): void
Inherited from void
Parameters:
Name | Type |
---|---|
options? |
ScrollToOptions |
Returns:void
▸ scrollTo(x
: number, y
: number): void
Inherited from void
Parameters:
Name | Type |
---|---|
x |
number |
y |
number |
Returns:void
setAttribute
▸ setAttribute(qualifiedName
: string, value
: string): void
Inherited from 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
setAttributeNS
▸ setAttributeNS(namespace
: string | null, qualifiedName
: string, value
: string): void
Inherited from void
Sets the value of element's attribute whose namespace is namespace and local name is localName to value.
Parameters:
Name | Type |
---|---|
namespace |
string | null |
qualifiedName |
string |
value |
string |
Returns:void
setAttributeNode
▸ setAttributeNode(attr
: Attr): Attr | null
Inherited from void
Parameters:
Name | Type |
---|---|
attr |
Attr |
Returns:Attr | null
setAttributeNodeNS
▸ setAttributeNodeNS(attr
: Attr): Attr | null
Inherited from void
Parameters:
Name | Type |
---|---|
attr |
Attr |
Returns:Attr | null
setLanguage
▸ setLanguage(language
: string): any
Parameters:
Name | Type |
---|---|
language |
string |
Returns:any
setPointerCapture
▸ setPointerCapture(pointerId
: number): void
Inherited from void
Parameters:
Name | Type |
---|---|
pointerId |
number |
Returns:void
toggleAttribute
▸ toggleAttribute(qualifiedName
: string, force?
: boolean): boolean
Inherited from void
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
webkitMatchesSelector
▸ webkitMatchesSelector(selectors
: string): boolean
Inherited from void
Parameters:
Name | Type |
---|---|
selectors |
string |
Returns:boolean