IPowerBiElement interface
- Extends
-
HTMLElement
Propriedades
| class |
É |
| part | A |
| power |
|
| style | |
| text |
Propriedades herdadas
| access |
A |
| access |
A |
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| aria |
|
| assigned |
|
| attributes | A |
| attribute |
|
| ATTRIBUTE_NODE | |
| autocapitalize | A |
| autocorrect | A |
| autofocus | |
| baseURI | A propriedade somente |
| CDATA_SECTION_NODE | o nó é um nó CDATASection. |
| child |
|
| child |
A propriedade somente |
| children | Retorna os elementos filho. |
| class |
A |
| client |
A |
| client |
A |
| client |
A |
| client |
A |
| COMMENT_NODE | o nó é um nó comment. |
| content |
|
| current |
A |
| dataset | |
| dir | A |
| DOCUMENT_FRAGMENT_NODE | o nó é um nó DocumentFragment. |
| DOCUMENT_NODE | o nó é um documento. |
| DOCUMENT_POSITION_CONTAINED_BY | Definir quando outro é descendente de nó. |
| DOCUMENT_POSITION_CONTAINS | Definir quando outro é um ancestral do nó. |
| DOCUMENT_POSITION_DISCONNECTED | Defina quando o nó e outros não estão na mesma árvore. |
| DOCUMENT_POSITION_FOLLOWING | Defina quando outro estiver seguindo o nó. |
| DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC | |
| DOCUMENT_POSITION_PRECEDING | Definir quando outro é o nó anterior. |
| DOCUMENT_TYPE_NODE | o nó é um doctype. |
| draggable | A |
| ELEMENT_NODE | o nó é um elemento. |
| enter |
|
| ENTITY_NODE | |
| ENTITY_REFERENCE_NODE | |
| first |
A propriedade somente |
| first |
Retorna o primeiro filho que é um elemento e nulo caso contrário. |
| hidden | A propriedade |
| id | A |
| inert | A propriedade |
| innerHTML | A |
| inner |
A |
| input |
|
| is |
A propriedade somente |
| is |
|
| lang | A |
| last |
A propriedade somente |
| last |
Retorna o último filho que é um elemento e nulo caso contrário. |
| local |
A |
| namespaceURI | A |
| next |
Retorna o primeiro irmão a seguir que é um elemento e nulo caso contrário. |
| next |
A propriedade somente |
| node |
A propriedade somente |
| node |
A propriedade somente |
| node |
A |
| nonce | |
| NOTATION_NODE | |
| offset |
A |
| offset |
A |
| offset |
A |
| offset |
A |
| offset |
A |
| onabort | |
| onanimationcancel | |
| onanimationend | |
| onanimationiteration | |
| onanimationstart | |
| onauxclick | |
| onbeforeinput | |
| onbeforematch | |
| onbeforetoggle | |
| onblur | |
| oncancel | |
| oncanplay | |
| oncanplaythrough | |
| onchange | |
| onclick | |
| onclose | |
| oncontextlost | |
| oncontextmenu | |
| oncontextrestored | |
| 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 | |
| onpointerrawupdate | Disponível somente em contextos seguros. |
| onpointerup | |
| onprogress | |
| onratechange | |
| onreset | |
| onresize | |
| onscroll | |
| onscrollend | |
| 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 | O |
| outer |
A |
| owner |
A propriedade somente |
| parent |
A propriedade somente |
| parent |
A propriedade somente |
| popover | A |
| prefix | A |
| previous |
Retorna o primeiro irmão anterior que é um elemento e nulo caso contrário. |
| previous |
A propriedade somente |
| PROCESSING_INSTRUCTION_NODE | o nó é um nó ProcessingInstruction. |
| role | |
| scroll |
A |
| scroll |
A |
| scroll |
A |
| scroll |
A |
| shadow |
A |
| slot | A |
| spellcheck | A |
| tab |
|
| tag |
A |
| TEXT_NODE | o nó é um nó de texto. |
| title | A |
| translate | A |
| writing |
A |
Métodos herdados
| add |
|
| add |
|
| after((string | Node)[]) | Insere nós logo após o nó, substituindo cadeias de caracteres em nós por nós de texto equivalentes. Gerará um DOMException "HierarchyRequestError" se as restrições da árvore de nó forem violadas. |
| animate(Keyframe[] | Property |
|
| append((string | Node)[]) | Insere nós após o último filho do nó, substituindo cadeias de caracteres em nós por nós de texto equivalentes. Gerará um DOMException "HierarchyRequestError" se as restrições da árvore de nó forem violadas. |
| append |
O |
| attach |
O |
| attach |
O |
| before((string | Node)[]) | Insere nós pouco antes do nó, substituindo cadeias de caracteres em nós por nós de texto equivalentes. Gerará um DOMException "HierarchyRequestError" se as restrições da árvore de nó forem violadas. |
| blur() | |
| check |
O |
| click() | O |
| clone |
O |
| closest<E>(string) | |
| closest<K>(K) | O |
| closest<K>(K) | |
| closest<K>(K) | |
| compare |
O |
| computed |
O |
| contains(Node | null) | O |
| dispatch |
O |
| focus(Focus |
|
| get |
|
| get |
O |
| get |
O |
| get |
Retorna o atributo especificado do elemento especificado, como um nó Attr. |
| get |
O |
| get |
O |
| get |
O |
| get |
O |
| get |
O método |
| get |
|
| get |
O |
| get |
|
| get |
|
| get |
|
| get |
|
| get |
O |
| get |
|
| get |
|
| getHTML(Get |
O |
| get |
O |
| has |
O |
| has |
O |
| has |
O |
| has |
O |
| has |
O |
| hide |
O |
| insert |
O |
| insert |
O |
| insert |
O |
| insert |
O |
| is |
O |
| is |
O |
| is |
O |
| lookup |
O |
| lookup |
O |
| matches(string) | O |
| normalize() | O |
| prepend((string | Node)[]) | Insere nós antes do primeiro filho do nó, substituindo cadeias de caracteres em nós por nós de texto equivalentes. Gerará um DOMException "HierarchyRequestError" se as restrições da árvore de nó forem violadas. |
| query |
|
| query |
Retorna o primeiro elemento que é um descendente de nó que corresponde aos seletores. |
| query |
|
| query |
|
| query |
|
| query |
|
| query |
Retorna todos os descendentes de elementos de nó que correspondem aos seletores. |
| query |
|
| query |
|
| query |
|
| release |
O |
| remove() | Remove o nó. |
| remove |
O método |
| remove |
O |
| remove |
O |
| remove |
O |
| remove |
|
| remove |
|
| replace |
O |
| replace |
Substitua todos os filhos do nó por nós, substituindo cadeias de caracteres em nós por nós de texto equivalentes. Gerará um DOMException "HierarchyRequestError" se as restrições da árvore de nó forem violadas. |
| replace |
Substitui o nó por nós, substituindo cadeias de caracteres em nós por nós de texto equivalentes. Gerará um DOMException "HierarchyRequestError" se as restrições da árvore de nó forem violadas. |
| request |
O |
| request |
O |
| scroll(number, number) | |
| scroll(Scroll |
O |
| scroll |
|
| scroll |
O |
| scroll |
O método da interface element |
| scroll |
|
| scroll |
O |
| set |
O |
| set |
O |
| set |
O |
| set |
|
| set |
O |
| set |
O |
| show |
O |
| toggle |
O |
| toggle |
O |
| webkit |
Detalhes da propriedade
classList
É Element.classList uma propriedade somente leitura que retorna uma coleção DOMTokenList dinâmica dos class atributos do elemento.
DOMTokenList classList
Valor da propriedade
DOMTokenList
part
A part propriedade da interface Element representa o(s) identificador(s) de parte do elemento (ou seja, definido usando o part atributo), retornado como um DOMTokenList.
DOMTokenList part
Valor da propriedade
DOMTokenList
powerBiEmbed
powerBiEmbed: Embed
Valor da propriedade
Embed
style
textContent
Detalhes das propriedades herdadas
accessKey
A HTMLElement.accessKey propriedade define o pressionamento de teclas que um usuário pode pressionar para ir para um determinado elemento.
accessKey: string
Valor da propriedade
string
Herdado de HTMLElement.accessKey
accessKeyLabel
A HTMLElement.accessKeyLabel propriedade somente leitura retorna uma cadeia de caracteres que contém a chave de acesso atribuída pelo navegador do elemento (se houver); caso contrário, retorna uma cadeia de caracteres vazia.
accessKeyLabel: string
Valor da propriedade
string
Herdado de HTMLElement.accessKeyLabel
ariaActiveDescendantElement
ariaActiveDescendantElement: Element | null
Valor da propriedade
Element | null
Herdado de HTMLElement.ariaActiveDescendantElement
ariaAtomic
ariaAtomic: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaAtomic
ariaAutoComplete
ariaAutoComplete: string | null
Valor da propriedade
string | null
Herdado de HTMLElement.ariaAutoComplete
ariaBrailleLabel
ariaBrailleLabel: string | null
Valor da propriedade
string | null
Herdado de HTMLElement.ariaBrailleLabel
ariaBrailleRoleDescription
ariaBrailleRoleDescription: string | null
Valor da propriedade
string | null
Herdado de HTMLElement.ariaBrailleRoleDescription
ariaBusy
ariaBusy: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaBusy
ariaChecked
ariaChecked: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaChecked
ariaColCount
ariaColCount: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaColCount
ariaColIndex
ariaColIndex: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaColIndex
ariaColIndexText
ariaColIndexText: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaColIndexText
ariaColSpan
ariaColSpan: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaColSpan
ariaControlsElements
ariaControlsElements: (readonly Element[]) | null
Valor da propriedade
(readonly Element[]) | null
Herdado de HTMLElement.ariaControlsElements
ariaCurrent
ariaCurrent: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaCurrent
ariaDescribedByElements
ariaDescribedByElements: (readonly Element[]) | null
Valor da propriedade
(readonly Element[]) | null
Herdado de HTMLElement.ariaDescribedByElements
ariaDescription
ariaDescription: string | null
Valor da propriedade
string | null
Herdado de HTMLElement.ariaDescription
ariaDetailsElements
ariaDetailsElements: (readonly Element[]) | null
Valor da propriedade
(readonly Element[]) | null
Herdado de HTMLElement.ariaDetailsElements
ariaDisabled
ariaDisabled: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaDisabled
ariaErrorMessageElements
ariaErrorMessageElements: (readonly Element[]) | null
Valor da propriedade
(readonly Element[]) | null
Herdado de HTMLElement.ariaErrorMessageElements
ariaExpanded
ariaExpanded: string | null
Valor da propriedade
string | null
Herdado de HTMLElement.ariaExpanded
ariaFlowToElements
ariaFlowToElements: (readonly Element[]) | null
Valor da propriedade
(readonly Element[]) | null
Herdado de HTMLElement.ariaFlowToElements
ariaHasPopup
ariaHasPopup: string | null
Valor da propriedade
string | null
Herdado de HTMLElement.ariaHasPopup
ariaHidden
ariaHidden: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaHidden
ariaInvalid
ariaInvalid: string | null
Valor da propriedade
string | null
Herdado de HTMLElement.ariaInvalid
ariaKeyShortcuts
ariaKeyShortcuts: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaKeyShortcuts
ariaLabel
ariaLabel: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaLabel
ariaLabelledByElements
ariaLabelledByElements: (readonly Element[]) | null
Valor da propriedade
(readonly Element[]) | null
Herdado de HTMLElement.ariaLabelledByElements
ariaLevel
ariaLevel: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaLevel
ariaLive
ariaLive: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaLive
ariaModal
ariaModal: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaModal
ariaMultiLine
ariaMultiLine: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaMultiLine
ariaMultiSelectable
ariaMultiSelectable: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaMultiSelectable
ariaOrientation
ariaOrientation: string | null
Valor da propriedade
string | null
Herdado de HTMLElement.ariaOrientation
ariaOwnsElements
ariaOwnsElements: (readonly Element[]) | null
Valor da propriedade
(readonly Element[]) | null
Herdado de HTMLElement.ariaOwnsElements
ariaPlaceholder
ariaPlaceholder: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaPlaceholder
ariaPosInSet
ariaPosInSet: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaPosInSet
ariaPressed
ariaPressed: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaPressed
ariaReadOnly
ariaReadOnly: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaReadOnly
ariaRelevant
ariaRelevant: string | null
Valor da propriedade
string | null
Herdado de HTMLElement.ariaRelevant
ariaRequired
ariaRequired: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaRequired
ariaRoleDescription
ariaRoleDescription: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaRoleDescription
ariaRowCount
ariaRowCount: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaRowCount
ariaRowIndex
ariaRowIndex: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaRowIndex
ariaRowIndexText
ariaRowIndexText: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaRowIndexText
ariaRowSpan
ariaRowSpan: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaRowSpan
ariaSelected
ariaSelected: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaSelected
ariaSetSize
ariaSetSize: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaSetSize
ariaSort
ariaSort: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaSort
ariaValueMax
ariaValueMax: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaValueMax
ariaValueMin
ariaValueMin: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaValueMin
ariaValueNow
ariaValueNow: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaValueNow
ariaValueText
ariaValueText: string | null
Valor da propriedade
string | null
herdado de HTMLElement.ariaValueText
assignedSlot
assignedSlot: HTMLSlotElement | null
Valor da propriedade
HTMLSlotElement | null
herdado de HTMLElement.assignedSlot
attributes
A Element.attributes propriedade retorna uma coleção dinâmica de todos os nós de atributo registrados no nó especificado.
attributes: NamedNodeMap
Valor da propriedade
NamedNodeMap
Herdado de HTMLElement.attributes
attributeStyleMap
attributeStyleMap: StylePropertyMap
Valor da propriedade
StylePropertyMap
Herdado de HTMLElement.attributeStyleMap
ATTRIBUTE_NODE
ATTRIBUTE_NODE: 2
Valor da propriedade
2
herdado de HTMLElement.ATTRIBUTE_NODE
autocapitalize
A autocapitalize propriedade da interface HTMLElement representa o comportamento de capitalização do elemento para entrada do usuário.
autocapitalize: string
Valor da propriedade
string
herdado de HTMLElement.autocapitalize
autocorrect
A autocorrect propriedade da interface HTMLElement controla se a autocorreção de texto editável está habilitada ou não para erros de ortografia e/ou pontuação.
autocorrect: boolean
Valor da propriedade
boolean
Herdado de HTMLElement.autocorrect
autofocus
baseURI
A propriedade somente baseURI leitura da interface do Nó retorna a URL base absoluta do documento que contém o nó.
baseURI: string
Valor da propriedade
string
herdado de HTMLElement.baseURI
CDATA_SECTION_NODE
o nó é um nó CDATASection.
CDATA_SECTION_NODE: 4
Valor da propriedade
4
herdado de HTMLElement.CDATA_SECTION_NODE
childElementCount
childElementCount: number
Valor da propriedade
number
herdado de HTMLElement.childElementCount
childNodes
A propriedade somente childNodes leitura da interface do Nó retorna um índice 0ao vivo do primeiro nó filho.
childNodes: NodeListOf<ChildNode>
Valor da propriedade
NodeListOf<ChildNode>
herdado de HTMLElement.childNodes
children
Retorna os elementos filho.
children: HTMLCollection
Valor da propriedade
HTMLCollection
herdado de HTMLElement.children
className
A className propriedade do elemento especificado.
className: string
Valor da propriedade
string
Herdado de HTMLElement.className
clientHeight
A clientHeight propriedade somente leitura da interface Element é zero para elementos sem CSS ou caixas de layout embutidas; caso contrário, é a altura interna de um elemento em pixels.
clientHeight: number
Valor da propriedade
number
herdado de HTMLElement.clientHeight
clientLeft
A clientLeft propriedade somente leitura da interface Element retorna a largura da borda esquerda de um elemento em pixels.
clientLeft: number
Valor da propriedade
number
herdado de HTMLElement.clientLeft
clientTop
A clientTop propriedade somente leitura da interface Element retorna a largura da borda superior de um elemento em pixels.
clientTop: number
Valor da propriedade
number
herdado de HTMLElement.clientTop
clientWidth
A clientWidth propriedade somente leitura da interface Element é zero para elementos embutidos e elementos sem CSS; caso contrário, é a largura interna de um elemento em pixels.
clientWidth: number
Valor da propriedade
number
herdado de HTMLElement.clientWidth
COMMENT_NODE
o nó é um nó comment.
COMMENT_NODE: 8
Valor da propriedade
8
herdado de HTMLElement.COMMENT_NODE
contentEditable
contentEditable: string
Valor da propriedade
string
herdado de HTMLElement.contentEditable
currentCSSZoom
A currentCSSZoom propriedade somente leitura da interface Element fornece o CSS zoom 'efetivo' de um elemento, levando em conta o zoom aplicado ao elemento e todos os seus elementos pai.
currentCSSZoom: number
Valor da propriedade
number
Herdado de HTMLElement.currentCSSZoom
dataset
dataset: DOMStringMap
Valor da propriedade
DOMStringMap
herdado de HTMLElement.dataset
dir
A HTMLElement.dir propriedade indica a direcionalidade da gravação de texto do conteúdo do elemento atual.
dir: string
Valor da propriedade
string
herdado de HTMLElement.dir
DOCUMENT_FRAGMENT_NODE
o nó é um nó DocumentFragment.
DOCUMENT_FRAGMENT_NODE: 11
Valor da propriedade
11
herdado de HTMLElement.DOCUMENT_FRAGMENT_NODE
DOCUMENT_NODE
o nó é um documento.
DOCUMENT_NODE: 9
Valor da propriedade
9
herdado de HTMLElement.DOCUMENT_NODE
DOCUMENT_POSITION_CONTAINED_BY
Definir quando outro é descendente de nó.
DOCUMENT_POSITION_CONTAINED_BY: 16
Valor da propriedade
16
herdado de HTMLElement.DOCUMENT_POSITION_CONTAINED_BY
DOCUMENT_POSITION_CONTAINS
Definir quando outro é um ancestral do nó.
DOCUMENT_POSITION_CONTAINS: 8
Valor da propriedade
8
herdado de HTMLElement.DOCUMENT_POSITION_CONTAINS
DOCUMENT_POSITION_DISCONNECTED
Defina quando o nó e outros não estão na mesma árvore.
DOCUMENT_POSITION_DISCONNECTED: 1
Valor da propriedade
1
herdado de HTMLElement.DOCUMENT_POSITION_DISCONNECTED
DOCUMENT_POSITION_FOLLOWING
Defina quando outro estiver seguindo o nó.
DOCUMENT_POSITION_FOLLOWING: 4
Valor da propriedade
4
herdado de HTMLElement.DOCUMENT_POSITION_FOLLOWING
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32
Valor da propriedade
32
herdado de HTMLElement.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
DOCUMENT_POSITION_PRECEDING
Definir quando outro é o nó anterior.
DOCUMENT_POSITION_PRECEDING: 2
Valor da propriedade
2
herdado de HTMLElement.DOCUMENT_POSITION_PRECEDING
DOCUMENT_TYPE_NODE
o nó é um doctype.
DOCUMENT_TYPE_NODE: 10
Valor da propriedade
10
herdado de HTMLElement.DOCUMENT_TYPE_NODE
draggable
A draggable propriedade da interface HTMLElement obtém e define um primitivo booliano que indica se o elemento é arrastável.
draggable: boolean
Valor da propriedade
boolean
herdado de HTMLElement.draggable
ELEMENT_NODE
o nó é um elemento.
ELEMENT_NODE: 1
Valor da propriedade
1
herdado de HTMLElement.ELEMENT_NODE
enterKeyHint
enterKeyHint: string
Valor da propriedade
string
herdado de HTMLElement.enterKeyHint
ENTITY_NODE
ENTITY_NODE: 6
Valor da propriedade
6
herdado de HTMLElement.ENTITY_NODE
ENTITY_REFERENCE_NODE
ENTITY_REFERENCE_NODE: 5
Valor da propriedade
5
herdado de HTMLElement.ENTITY_REFERENCE_NODE
firstChild
A propriedade somente firstChild leitura da interface do Nó retorna o primeiro filho do nó na árvore ou null se o nó não tem filhos.
firstChild: ChildNode | null
Valor da propriedade
ChildNode | null
herdado de HTMLElement.firstChild
firstElementChild
Retorna o primeiro filho que é um elemento e nulo caso contrário.
firstElementChild: Element | null
Valor da propriedade
Element | null
herdado de HTMLElement.firstElementChild
hidden
A propriedade hidden HTMLElement reflete o valor do atributo do hidden elemento.
hidden: boolean
Valor da propriedade
boolean
herdado de HTMLElement.hidden
id
A id propriedade da interface Element representa o identificador do elemento, refletindo o id atributo global.
id: string
Valor da propriedade
string
herdado de HTMLElement.id
inert
A propriedade inert HTMLElement reflete o valor do atributo do inert elemento.
inert: boolean
Valor da propriedade
boolean
Herdado de HTMLElement.inert
innerHTML
A innerHTML propriedade da interface Element obtém ou define a marcação HTML ou XML contida no elemento.
innerHTML: string
Valor da propriedade
string
herdado de HTMLElement.innerHTML
innerText
A innerText propriedade da interface HTMLElement representa o conteúdo de texto renderizado de um nó e seus descendentes.
innerText: string
Valor da propriedade
string
herdado de HTMLElement.innerText
inputMode
isConnected
A propriedade somente isConnected leitura da interface do Nó retorna um booliano que indica se o nó está conectado (direta ou indiretamente) a um objeto Document.
isConnected: boolean
Valor da propriedade
boolean
herdado de HTMLElement.isConnected
isContentEditable
isContentEditable: boolean
Valor da propriedade
boolean
herdado de HTMLElement.isContentEditable
lang
A lang propriedade da interface HTMLElement indica a linguagem base dos valores de atributo e do conteúdo de texto de um elemento, na forma de um AUSENTE: RFC(5646, 'Marca de identificador de linguagem BCP 47')].
lang: string
Valor da propriedade
string
Herdado de HTMLElement.lang
lastChild
A propriedade somente lastChild leitura da interface do Nó retorna o último filho do nó ou null se não houver nós filho.
lastChild: ChildNode | null
Valor da propriedade
ChildNode | null
herdado de HTMLElement.lastChild
lastElementChild
Retorna o último filho que é um elemento e nulo caso contrário.
lastElementChild: Element | null
Valor da propriedade
Element | null
herdado de HTMLElement.lastElementChild
localName
A Element.localName propriedade somente leitura retorna a parte local do nome qualificado de um elemento.
localName: string
Valor da propriedade
string
herdado de HTMLElement.localName
namespaceURI
A Element.namespaceURI propriedade somente leitura retorna o URI do namespace do elemento ou null se o elemento não está em um namespace.
namespaceURI: string | null
Valor da propriedade
string | null
Herdado de HTMLElement.namespaceURI
nextElementSibling
Retorna o primeiro irmão a seguir que é um elemento e nulo caso contrário.
nextElementSibling: Element | null
Valor da propriedade
Element | null
Herdado de HTMLElement.nextElementSibling
nextSibling
A propriedade somente nextSibling leitura da interface do Nó retorna o nó imediatamente após o especificado no Node.childNodes do pai ou retorna null se o nó especificado for o último filho no elemento pai.
nextSibling: ChildNode | null
Valor da propriedade
ChildNode | null
Herdado de HTMLElement.nextSibling
nodeName
A propriedade somente nodeName leitura de Node retorna o nome do nó atual como uma cadeia de caracteres.
nodeName: string
Valor da propriedade
string
herdado de HTMLElement.nodeName
nodeType
A propriedade somente nodeType leitura de uma interface node é um inteiro que identifica o que é o nó.
nodeType: number
Valor da propriedade
number
herdado de HTMLElement.nodeType
nodeValue
A nodeValue propriedade da interface node retorna ou define o valor do nó atual.
nodeValue: string | null
Valor da propriedade
string | null
Herdado de HTMLElement.nodeValue
nonce
NOTATION_NODE
NOTATION_NODE: 12
Valor da propriedade
12
herdado de HTMLElement.NOTATION_NODE
offsetHeight
A offsetHeight propriedade somente leitura da interface HTMLElement retorna a altura de um elemento, incluindo preenchimento vertical e bordas, como um inteiro.
offsetHeight: number
Valor da propriedade
number
Herdado de HTMLElement.offsetHeight
offsetLeft
A offsetLeft propriedade somente leitura da interface HTMLElement retorna o número de pixels que o canto superior esquerdo do elemento atual é deslocado para a esquerda dentro do nó HTMLElement.offsetParent.
offsetLeft: number
Valor da propriedade
number
Herdado de HTMLElement.offsetLeft
offsetParent
A HTMLElement.offsetParent propriedade somente leitura retorna uma referência ao elemento que é o elemento ancestral mais próximo (mais próximo na hierarquia de contenção).
offsetParent: Element | null
Valor da propriedade
Element | null
herdado de HTMLElement.offsetParent
offsetTop
A offsetTop propriedade somente leitura da interface HTMLElement retorna a distância da borda externa do elemento atual (incluindo sua margem) até a borda superior do preenchimento de HTMLelement.offsetParent, o elemento ancestral posicionado mais próximo .
offsetTop: number
Valor da propriedade
number
herdado de HTMLElement.offsetTop
offsetWidth
A offsetWidth propriedade somente leitura da interface HTMLElement retorna a largura de layout de um elemento como um inteiro.
offsetWidth: number
Valor da propriedade
number
herdado de HTMLElement.offsetWidth
onabort
onabort: (this: GlobalEventHandlers, ev: UIEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: UIEvent) => any | null
herdado de HTMLElement.onabort
onanimationcancel
onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: AnimationEvent) => any | null
Herdado de HTMLElement.onanimationcancel
onanimationend
onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: AnimationEvent) => any | null
Herdado de HTMLElement.onanimationend
onanimationiteration
onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: AnimationEvent) => any | null
Herdado de HTMLElement.onanimationiteration
onanimationstart
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: AnimationEvent) => any | null
Herdado de HTMLElement.onanimationstart
onauxclick
onauxclick: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
Herdado de HTMLElement.onauxclick
onbeforeinput
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: InputEvent) => any | null
Herdado de HTMLElement.onbeforeinput
onbeforematch
onbeforematch: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.onbeforematch
onbeforetoggle
onbeforetoggle: (this: GlobalEventHandlers, ev: ToggleEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: ToggleEvent) => any | null
Herdado de HTMLElement.onbeforetoggle
onblur
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: FocusEvent) => any | null
Herdado de HTMLElement.onblur
oncancel
oncancel: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.oncancel
oncanplay
oncanplay: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.oncanplay
oncanplaythrough
oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.oncanplaythrough
onchange
onchange: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.onchange
onclick
onclick: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
herdado de HTMLElement.onclick
onclose
onclose: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.onclose
oncontextlost
oncontextlost: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.oncontextlost
oncontextmenu
oncontextmenu: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
Herdado de HTMLElement.oncontextmenu
oncontextrestored
oncontextrestored: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.oncontextrestored
oncopy
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: ClipboardEvent) => any | null
Herdado de HTMLElement.oncopy
oncuechange
oncuechange: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.oncuechange
oncut
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: ClipboardEvent) => any | null
Herdado de HTMLElement.oncut
ondblclick
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: MouseEvent) => any | null
Herdado de HTMLElement.ondblclick
ondrag
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: DragEvent) => any | null
herdado de HTMLElement.ondrag
ondragend
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: DragEvent) => any | null
herdado de HTMLElement.ondragend
ondragenter
ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: DragEvent) => any | null
herdado de HTMLElement.ondragenter
ondragleave
ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: DragEvent) => any | null
Herdado de HTMLElement.ondragleave
ondragover
ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: DragEvent) => any | null
Herdado de HTMLElement.ondragover
ondragstart
ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: DragEvent) => any | null
Herdado de HTMLElement.ondragstart
ondrop
ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: DragEvent) => any | null
Herdado de HTMLElement.ondrop
ondurationchange
ondurationchange: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.ondurationchange
onemptied
onemptied: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
herdado de HTMLElement.onemptied
onended
onended: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.onended
onerror
onerror: OnErrorEventHandler
Valor da propriedade
OnErrorEventHandler
herdado de HTMLElement.onerror
onfocus
onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: FocusEvent) => any | null
Herdado de HTMLElement.onfocus
onformdata
onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: FormDataEvent) => any | null
Herdado de HTMLElement.onformdata
onfullscreenchange
onfullscreenchange: (this: Element, ev: Event) => any | null
Valor da propriedade
(this: Element, ev: Event) => any | null
Herdado de HTMLElement.onfullscreenchange
onfullscreenerror
onfullscreenerror: (this: Element, ev: Event) => any | null
Valor da propriedade
(this: Element, ev: Event) => any | null
Herdado de HTMLElement.onfullscreenerror
ongotpointercapture
ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
Herdado de HTMLElement.ongotpointercapture
oninput
oninput: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
herdado de HTMLElement.oninput
oninvalid
oninvalid: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
herdado de HTMLElement.oninvalid
onkeydown
onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: KeyboardEvent) => any | null
Herdado de HTMLElement.onkeydown
onkeypress
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: KeyboardEvent) => any | null
Herdado de HTMLElement.onkeypress
onkeyup
onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: KeyboardEvent) => any | null
herdado de HTMLElement.onkeyup
onload
onload: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.onload
onloadeddata
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.onloadeddata
onloadedmetadata
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.onloadedmetadata
onloadstart
onloadstart: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.onloadstart
onlostpointercapture
onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
Herdado de HTMLElement.onlostpointercapture
onmousedown
onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: MouseEvent) => any | null
herdado de HTMLElement.onmousedown
onmouseenter
onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: MouseEvent) => any | null
Herdado de HTMLElement.onmouseenter
onmouseleave
onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: MouseEvent) => any | null
Herdado de HTMLElement.onmouseleave
onmousemove
onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: MouseEvent) => any | null
Herdado de HTMLElement.onmousemove
onmouseout
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: MouseEvent) => any | null
herdado de HTMLElement.onmouseout
onmouseover
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: MouseEvent) => any | null
herdado de HTMLElement.onmouseover
onmouseup
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: MouseEvent) => any | null
herdado de HTMLElement.onmouseup
onpaste
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: ClipboardEvent) => any | null
Herdado de HTMLElement.onpaste
onpause
onpause: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
herdado de HTMLElement.onpause
onplay
onplay: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.onplay
onplaying
onplaying: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.onplaying
onpointercancel
onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
Herdado de HTMLElement.onpointercancel
onpointerdown
onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
Herdado de HTMLElement.onpointerdown
onpointerenter
onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
Herdado de HTMLElement.onpointerenter
onpointerleave
onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
Herdado de HTMLElement.onpointerleave
onpointermove
onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
herdado de HTMLElement.onpointermove
onpointerout
onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
herdado de HTMLElement.onpointerout
onpointerover
onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
Herdado de HTMLElement.onpointerover
onpointerrawupdate
Disponível somente em contextos seguros.
onpointerrawupdate: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.onpointerrawupdate
onpointerup
onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: PointerEvent) => any | null
Herdado de HTMLElement.onpointerup
onprogress
onprogress: (this: GlobalEventHandlers, ev: ProgressEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: ProgressEvent) => any | null
Herdado de HTMLElement.onprogress
onratechange
onratechange: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.onratechange
onreset
onreset: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
herdado de HTMLElement.onreset
onresize
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: UIEvent) => any | null
Herdado de HTMLElement.onresize
onscroll
onscroll: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.onscroll
onscrollend
onscrollend: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.onscrollend
onsecuritypolicyviolation
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any | null
Herdado de HTMLElement.onsecuritypolicyviolation
onseeked
onseeked: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.onseeked
onseeking
onseeking: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
herdado de HTMLElement.onseeking
onselect
onselect: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.onselect
onselectionchange
onselectionchange: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.onselectionchange
onselectstart
onselectstart: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.onselectstart
onslotchange
onslotchange: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.onslotchange
onstalled
onstalled: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.onstalled
onsubmit
onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: SubmitEvent) => any | null
Herdado de HTMLElement.onsubmit
onsuspend
onsuspend: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.onsuspend
ontimeupdate
ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.ontimeupdate
ontoggle
ontoggle: (this: GlobalEventHandlers, ev: ToggleEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: ToggleEvent) => any | null
Herdado de HTMLElement.onggle
ontouchcancel
ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: TouchEvent) => any | null
Herdado de HTMLElement.onuchcancel
ontouchend
ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: TouchEvent) => any | null
Herdado de HTMLElement.onuchend
ontouchmove
ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: TouchEvent) => any | null
Herdado de HTMLElement.onuchmove
ontouchstart
ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: TouchEvent) => any | null
Herdado de HTMLElement.onuchstart
ontransitioncancel
ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: TransitionEvent) => any | null
Herdado de HTMLElement.ontransitioncancel
ontransitionend
ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: TransitionEvent) => any | null
Herdado de HTMLElement.ontransitionend
ontransitionrun
ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: TransitionEvent) => any | null
Herdado de HTMLElement.ontransitionrun
ontransitionstart
ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: TransitionEvent) => any | null
Herdado de HTMLElement.ontransitionstart
onvolumechange
onvolumechange: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.onvolumechange
onwaiting
onwaiting: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.onwaiting
onwebkitanimationend
onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.onwebkitanimationend
onwebkitanimationiteration
onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.onwebkitanimationiteration
onwebkitanimationstart
onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.onwebkitanimationstart
onwebkittransitionend
onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: Event) => any | null
Herdado de HTMLElement.onwebkittransitionend
onwheel
onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any | null
Valor da propriedade
(this: GlobalEventHandlers, ev: WheelEvent) => any | null
Herdado de HTMLElement.onwheel
outerHTML
O outerHTML atributo da interface DOM do elemento obtém o fragmento HTML serializado que descreve o elemento, incluindo seus descendentes.
outerHTML: string
Valor da propriedade
string
herdado de HTMLElement.outerHTML
outerText
A outerText propriedade da interface HTMLElement retorna o mesmo valor que HTMLElement.innerText.
outerText: string
Valor da propriedade
string
herdado de HTMLElement.outerText
ownerDocument
A propriedade somente ownerDocument leitura da interface do Nó retorna o objeto de documento de nível superior do nó.
ownerDocument: Document
Valor da propriedade
Herdado de HTMLElement.ownerDocument
parentElement
A propriedade somente parentElement leitura da interface node retorna o elemento pai do nó DOM ou null se o nó não tem pai ou seu pai não é um elemento DOM.
parentElement: HTMLElement | null
Valor da propriedade
HTMLElement | null
Herdado de HTMLElement.parentElement
parentNode
A propriedade somente parentNode leitura da interface do Nó retorna o pai do nó especificado na árvore DOM.
parentNode: ParentNode | null
Valor da propriedade
ParentNode | null
Herdado de HTMLElement.parentNode
popover
A popover propriedade da interface HTMLElement obtém e define o estado de popover de um elemento por meio de JavaScript ('auto''hint'ou 'manual'), e pode ser usada para detecção de recursos.
popover: string | null
Valor da propriedade
string | null
Herdado de HTMLElement.popover
prefix
A Element.prefix propriedade somente leitura retorna o prefixo de namespace do elemento especificado ou null se nenhum prefixo é especificado.
prefix: string | null
Valor da propriedade
string | null
herdado de HTMLElement.prefix
previousElementSibling
Retorna o primeiro irmão anterior que é um elemento e nulo caso contrário.
previousElementSibling: Element | null
Valor da propriedade
Element | null
herdado de HTMLElement.previousElementSibling
previousSibling
A propriedade somente previousSibling leitura da interface do Nó retorna o nó imediatamente anterior ao especificado em seu pai ou null se o nó especificado é o primeiro nessa lista.
previousSibling: ChildNode | null
Valor da propriedade
ChildNode | null
herdado de HTMLElement.previousSibling
PROCESSING_INSTRUCTION_NODE
o nó é um nó ProcessingInstruction.
PROCESSING_INSTRUCTION_NODE: 7
Valor da propriedade
7
herdado de HTMLElement.PROCESSING_INSTRUCTION_NODE
role
role: string | null
Valor da propriedade
string | null
Herdado de HTMLElement.role
scrollHeight
A scrollHeight propriedade somente leitura da interface Element é uma medida da altura do conteúdo de um elemento, incluindo o conteúdo não visível na tela devido ao estouro.
scrollHeight: number
Valor da propriedade
number
Herdado de HTMLElement.scrollHeight
scrollLeft
A scrollLeft propriedade da interface Element obtém ou define o número de pixels pelos quais o conteúdo de um elemento é rolado de sua borda esquerda.
scrollLeft: number
Valor da propriedade
number
Herdado de HTMLElement.scrollLeft
scrollTop
A scrollTop propriedade da interface Element obtém ou define o número de pixels pelos quais o conteúdo de um elemento é rolado de sua borda superior.
scrollTop: number
Valor da propriedade
number
herdado de HTMLElement.scrollTop
scrollWidth
A scrollWidth propriedade somente leitura da interface Element é uma medida da largura do conteúdo de um elemento, incluindo o conteúdo não visível na tela devido ao estouro.
scrollWidth: number
Valor da propriedade
number
herdado de HTMLElement.scrollWidth
shadowRoot
A Element.shadowRoot propriedade somente leitura representa a raiz de sombra hospedada pelo elemento.
shadowRoot: ShadowRoot | null
Valor da propriedade
ShadowRoot | null
herdado de HTMLElement.shadowRoot
slot
A slot propriedade da interface Element retorna o nome do slot do DOM de sombra no qual o elemento está inserido.
slot: string
Valor da propriedade
string
Herdado de HTMLElement.slot
spellcheck
A spellcheck propriedade da interface HTMLElement representa um valor booliano que controla a dica de verificação ortográfica.
spellcheck: boolean
Valor da propriedade
boolean
Herdado de HTMLElement.spellcheck
tabIndex
tagName
A tagName propriedade somente leitura da interface Element retorna o nome da marca do elemento no qual ele é chamado.
tagName: string
Valor da propriedade
string
Herdado de HTMLElement.tagName
TEXT_NODE
o nó é um nó de texto.
TEXT_NODE: 3
Valor da propriedade
3
herdado de HTMLElement.TEXT_NODE
title
A HTMLElement.title propriedade representa o título do elemento: o texto geralmente é exibido em um pop-up 'tooltip' quando o mouse está sobre o nó.
title: string
Valor da propriedade
string
Herdado de HTMLElement.title
translate
A translate propriedade da interface HTMLElement indica se os valores de atributo de um elemento e os valores de seus filhos de nó de texto devem ser traduzidos quando a página é localizada ou se devem deixá-los inalterados.
translate: boolean
Valor da propriedade
boolean
Herdado de HTMLElement.translate
writingSuggestions
A writingSuggestions propriedade da interface HTMLElement é uma cadeia de caracteres que indica se as sugestões de gravação fornecidas pelo navegador devem ser habilitadas no escopo do elemento ou não.
writingSuggestions: string
Valor da propriedade
string
Herdado de HTMLElement.writingSuggestions
Detalhes do método herdado
addEventListener(string, EventListenerOrEventListenerObject, boolean | AddEventListenerOptions)
function addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions)
Parâmetros
- type
-
string
- listener
-
EventListenerOrEventListenerObject
- options
-
boolean | AddEventListenerOptions
Herdado de HTMLElement.addEventListener
addEventListener<K>(K, (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, boolean | AddEventListenerOptions)
function addEventListener<K>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions)
Parâmetros
- type
-
K
- listener
-
(this: HTMLElement, ev: HTMLElementEventMap[K]) => any
- options
-
boolean | AddEventListenerOptions
Herdado de HTMLElement.addEventListener
after((string | Node)[])
Insere nós logo após o nó, substituindo cadeias de caracteres em nós por nós de texto equivalentes.
Gerará um DOMException "HierarchyRequestError" se as restrições da árvore de nó forem violadas.
function after(nodes: (string | Node)[])
Parâmetros
- nodes
-
(string | Node)[]
Herdado de HTMLElement.after
animate(Keyframe[] | PropertyIndexedKeyframes | null, number | KeyframeAnimationOptions)
function animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation
Parâmetros
- keyframes
-
Keyframe[] | PropertyIndexedKeyframes | null
- options
-
number | KeyframeAnimationOptions
Retornos
Animation
herdado de HTMLElement.animate
append((string | Node)[])
Insere nós após o último filho do nó, substituindo cadeias de caracteres em nós por nós de texto equivalentes.
Gerará um DOMException "HierarchyRequestError" se as restrições da árvore de nó forem violadas.
function append(nodes: (string | Node)[])
Parâmetros
- nodes
-
(string | Node)[]
Herdado de HTMLElement.append
appendChild<T>(T)
O appendChild() método da interface do nó adiciona um nó ao final da lista de filhos de um nó pai especificado.
function appendChild<T>(node: T): T
Parâmetros
- node
-
T
Retornos
T
Herdado de HTMLElement.appendChild
attachInternals()
O HTMLElement.attachInternals() método retorna um objeto ElementInternals.
function attachInternals(): ElementInternals
Retornos
ElementInternals
Herdado de HTMLElement.attachInternals
attachShadow(ShadowRootInit)
O Element.attachShadow() método anexa uma árvore DOM de sombra ao elemento especificado e retorna uma referência a seu ShadowRoot.
function attachShadow(init: ShadowRootInit): ShadowRoot
Parâmetros
- init
-
ShadowRootInit
Retornos
ShadowRoot
Herdado de HTMLElement.attachShadow
before((string | Node)[])
Insere nós pouco antes do nó, substituindo cadeias de caracteres em nós por nós de texto equivalentes.
Gerará um DOMException "HierarchyRequestError" se as restrições da árvore de nó forem violadas.
function before(nodes: (string | Node)[])
Parâmetros
- nodes
-
(string | Node)[]
herdado de HTMLElement.before
blur()
checkVisibility(CheckVisibilityOptions)
O checkVisibility() método da interface Element verifica se o elemento está visível.
function checkVisibility(options?: CheckVisibilityOptions): boolean
Parâmetros
- options
-
CheckVisibilityOptions
Retornos
boolean
Herdado de HTMLElement.checkVisibility
click()
O HTMLElement.click() método simula um clique do mouse em um elemento.
function click()
Herdado de HTMLElement.click
cloneNode(boolean)
O cloneNode() método da interface do Nó retorna uma duplicata do nó no qual esse método foi chamado.
function cloneNode(subtree?: boolean): Node
Parâmetros
- subtree
-
boolean
Retornos
Node
herdado de HTMLElement.cloneNode
closest<E>(string)
function closest<E>(selectors: string): E | null
Parâmetros
- selectors
-
string
Retornos
E | null
Herdado de HTMLElement.closest
closest<K>(K)
O closest() método da interface Element percorre o elemento e seus pais (indo em direção à raiz do documento) até encontrar um nó que corresponda ao seletor CSS especificado.
function closest<K>(selector: K): HTMLElementTagNameMap[K] | null
Parâmetros
- selector
-
K
Retornos
HTMLElementTagNameMap[K] | null
Herdado de HTMLElement.closest
closest<K>(K)
function closest<K>(selector: K): SVGElementTagNameMap[K] | null
Parâmetros
- selector
-
K
Retornos
SVGElementTagNameMap[K] | null
Herdado de HTMLElement.closest
closest<K>(K)
function closest<K>(selector: K): MathMLElementTagNameMap[K] | null
Parâmetros
- selector
-
K
Retornos
MathMLElementTagNameMap[K] | null
Herdado de HTMLElement.closest
compareDocumentPosition(Node)
O compareDocumentPosition() método da interface do Nó relata a posição de seu nó de argumento em relação ao nó no qual ele é chamado.
function compareDocumentPosition(other: Node): number
Parâmetros
- other
-
Node
Retornos
number
herdado de HTMLElement.compareDocumentPosition
computedStyleMap()
O computedStyleMap() método da interface Element retorna uma interface StylePropertyMapReadOnly que fornece uma representação somente leitura de um bloco de declaração CSS que é uma alternativa ao CSSStyleDeclaration.
function computedStyleMap(): StylePropertyMapReadOnly
Retornos
StylePropertyMapReadOnly
Herdado de HTMLElement.computedStyleMap
contains(Node | null)
O contains() método da interface do nó retorna um valor booliano que indica se um nó é descendente de determinado nó, que é o nó em si, um de seus filhos diretos (Node.childNodes), um dos filhos diretos das crianças e assim por diante.
function contains(other: Node | null): boolean
Parâmetros
- other
-
Node | null
Retornos
boolean
Herdado de HTMLElement.contains
dispatchEvent(Event)
O dispatchEvent() método do EventTarget envia um Evento para o objeto, (de forma síncrona) invocando os ouvintes de eventos afetados na ordem apropriada.
function dispatchEvent(event: Event): boolean
Parâmetros
- event
-
Event
Retornos
boolean
herdado de HTMLElement.dispatchEvent
focus(FocusOptions)
function focus(options?: FocusOptions)
Parâmetros
- options
-
FocusOptions
Herdado de HTMLElement.focus
getAnimations(GetAnimationsOptions)
function getAnimations(options?: GetAnimationsOptions): Animation[]
Parâmetros
- options
-
GetAnimationsOptions
Retornos
Animation[]
Herdado de HTMLElement.getAnimations
getAttribute(string)
O getAttribute() método do elemento.
function getAttribute(qualifiedName: string): string | null
Parâmetros
- qualifiedName
-
string
Retornos
string | null
herdado de HTMLElement.getAttribute
getAttributeNames()
O getAttributeNames() método da matriz.
function getAttributeNames(): string[]
Retornos
string[]
herdado de HTMLElement.getAttributeNames
getAttributeNode(string)
Retorna o atributo especificado do elemento especificado, como um nó Attr.
function getAttributeNode(qualifiedName: string): Attr | null
Parâmetros
- qualifiedName
-
string
Retornos
Attr | null
herdado de HTMLElement.getAttributeNode
getAttributeNodeNS(string | null, string)
O getAttributeNodeNS() método da interface Element retorna o nó Attr com espaçamento de nomes de um elemento.
function getAttributeNodeNS(namespace: string | null, localName: string): Attr | null
Parâmetros
- namespace
-
string | null
- localName
-
string
Retornos
Attr | null
herdado de HTMLElement.getAttributeNodeNS
getAttributeNS(string | null, string)
O getAttributeNS() método da interface Element retorna o valor da cadeia de caracteres do atributo com o namespace e o nome especificados.
function getAttributeNS(namespace: string | null, localName: string): string | null
Parâmetros
- namespace
-
string | null
- localName
-
string
Retornos
string | null
herdado de HTMLElement.getAttributeNS
getBoundingClientRect()
O Element.getBoundingClientRect() método retorna uma posição relativa ao visor.
function getBoundingClientRect(): DOMRect
Retornos
DOMRect
herdado de HTMLElement.getBoundingClientRect
getClientRects()
O getClientRects() método da interface Element retorna uma coleção de objetos DOMRect que indicam os retângulos delimitadores para cada caixa de borda CSS em um cliente.
function getClientRects(): DOMRectList
Retornos
DOMRectList
Herdado de HTMLElement.getClientRects
getElementsByClassName(string)
O método getElementsByClassName() Element retorna um nome ou nomes de classe especificados ao vivo.
function getElementsByClassName(classNames: string): HTMLCollectionOf<Element>
Parâmetros
- classNames
-
string
Retornos
HTMLCollectionOf<Element>
herdado de HTMLElement.getElementsByClassName
getElementsByTagName(string)
function getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>
Parâmetros
- qualifiedName
-
string
Retornos
HTMLCollectionOf<Element>
herdado de HTMLElement.getElementsByTagName
getElementsByTagName<K>(K)
O Element.getElementsByTagName() método retorna um ativo Todos os descendentes do elemento especificado são pesquisados, mas não o elemento em si.
function getElementsByTagName<K>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>
Parâmetros
- qualifiedName
-
K
Retornos
HTMLCollectionOf<HTMLElementTagNameMap[K]>
herdado de HTMLElement.getElementsByTagName
getElementsByTagName<K>(K)
function getElementsByTagName<K>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>
Parâmetros
- qualifiedName
-
K
Retornos
HTMLCollectionOf<SVGElementTagNameMap[K]>
herdado de HTMLElement.getElementsByTagName
getElementsByTagName<K>(K)
function getElementsByTagName<K>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>
Parâmetros
- qualifiedName
-
K
Retornos
HTMLCollectionOf<MathMLElementTagNameMap[K]>
herdado de HTMLElement.getElementsByTagName
getElementsByTagName<K>(K)
Aviso
Essa API foi preterida.
function getElementsByTagName<K>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>
Parâmetros
- qualifiedName
-
K
Retornos
HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>
herdado de HTMLElement.getElementsByTagName
getElementsByTagNameNS("http://www.w3.org/1998/Math/MathML", string)
function getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>
Parâmetros
- namespaceURI
-
"http://www.w3.org/1998/Math/MathML"
- localName
-
string
Retornos
HTMLCollectionOf<MathMLElement>
herdado de HTMLElement.getElementsByTagNameNS
getElementsByTagNameNS("http://www.w3.org/1999/xhtml", string)
O Element.getElementsByTagNameNS() método retorna um HTMLCollection dinâmico de elementos com o nome de marca fornecido que pertence ao namespace fornecido.
function getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>
Parâmetros
- namespaceURI
-
"http://www.w3.org/1999/xhtml"
- localName
-
string
Retornos
HTMLCollectionOf<HTMLElement>
herdado de HTMLElement.getElementsByTagNameNS
getElementsByTagNameNS("http://www.w3.org/2000/svg", string)
function getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>
Parâmetros
- namespaceURI
-
"http://www.w3.org/2000/svg"
- localName
-
string
Retornos
HTMLCollectionOf<SVGElement>
herdado de HTMLElement.getElementsByTagNameNS
getElementsByTagNameNS(string | null, string)
function getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>
Parâmetros
- namespace
-
string | null
- localName
-
string
Retornos
HTMLCollectionOf<Element>
herdado de HTMLElement.getElementsByTagNameNS
getHTML(GetHTMLOptions)
O getHTML() método da interface Element é usado para serializar o DOM de um elemento em uma cadeia de caracteres HTML.
function getHTML(options?: GetHTMLOptions): string
Parâmetros
- options
-
GetHTMLOptions
Retornos
string
Herdado de HTMLElement.getHTML
getRootNode(GetRootNodeOptions)
O getRootNode() método da interface node retorna a raiz do objeto de contexto, que opcionalmente inclui a raiz de sombra se estiver disponível.
function getRootNode(options?: GetRootNodeOptions): Node
Parâmetros
- options
-
GetRootNodeOptions
Retornos
Node
Herdado de HTMLElement.getRootNode
hasAttribute(string)
O Element.hasAttribute() método retorna um valor booliano que indica se o elemento especificado tem o atributo especificado ou não.
function hasAttribute(qualifiedName: string): boolean
Parâmetros
- qualifiedName
-
string
Retornos
boolean
herdado de HTMLElement.hasAttribute
hasAttributeNS(string | null, string)
O hasAttributeNS() método da interface Element retorna um valor booliano que indica se o elemento atual tem o atributo especificado com o namespace especificado.
function hasAttributeNS(namespace: string | null, localName: string): boolean
Parâmetros
- namespace
-
string | null
- localName
-
string
Retornos
boolean
herdado de HTMLElement.hasAttributeNS
hasAttributes()
O hasAttributes() método da interface Element retorna um valor booliano que indica se o elemento atual tem atributos ou não.
function hasAttributes(): boolean
Retornos
boolean
herdado de HTMLElement.hasAttributes
hasChildNodes()
O hasChildNodes() método da interface do nó retorna um valor booliano que indica se o nó fornecido tem nós filho ou não.
function hasChildNodes(): boolean
Retornos
boolean
herdado de HTMLElement.hasChildNodes
hasPointerCapture(number)
O hasPointerCapture() método da captura de ponteiro para o ponteiro identificado pela ID de ponteiro fornecida.
function hasPointerCapture(pointerId: number): boolean
Parâmetros
- pointerId
-
number
Retornos
boolean
herdado de HTMLElement.hasPointerCapture
hidePopover()
O hidePopover() método da interface HTMLElement oculta um elemento popover (ou seja, um que tem um atributo válido popover ) removendo-o da camada superior e estilizando-o com display: none.
function hidePopover()
Herdado de HTMLElement.hidePopover
insertAdjacentElement(InsertPosition, Element)
O insertAdjacentElement() método do elemento relativo ao qual ele é invocado.
function insertAdjacentElement(where: InsertPosition, element: Element): Element | null
Parâmetros
- where
-
InsertPosition
- element
-
Element
Retornos
Element | null
Herdado de HTMLElement.insertAdjacentElement
insertAdjacentHTML(InsertPosition, string)
O insertAdjacentHTML() método dos nós resultantes na árvore DOM em uma posição especificada.
function insertAdjacentHTML(position: InsertPosition, string: string)
Parâmetros
- position
-
InsertPosition
- string
-
string
Herdado de HTMLElement.insertAdjacentHTML
insertAdjacentText(InsertPosition, string)
O insertAdjacentText() método da interface Element, dada uma posição relativa e uma cadeia de caracteres, insere um novo nó de texto na posição determinada em relação ao elemento do qual ele é chamado.
function insertAdjacentText(where: InsertPosition, data: string)
Parâmetros
- where
-
InsertPosition
- data
-
string
Herdado de HTMLElement.insertAdjacentText
insertBefore<T>(T, Node | null)
O insertBefore() método da interface do nó insere um nó antes de um nó de referência como um filho de um nó pai especificado.
function insertBefore<T>(node: T, child: Node | null): T
Parâmetros
- node
-
T
- child
-
Node | null
Retornos
T
Herdado de HTMLElement.insertBefore
isDefaultNamespace(string | null)
O isDefaultNamespace() método da interface do Nó aceita um URI de namespace como argumento.
function isDefaultNamespace(namespace: string | null): boolean
Parâmetros
- namespace
-
string | null
Retornos
boolean
Herdado de HTMLElement.isDefaultNamespace
isEqualNode(Node | null)
O isEqualNode() método da interface do nó testa se dois nós são iguais.
function isEqualNode(otherNode: Node | null): boolean
Parâmetros
- otherNode
-
Node | null
Retornos
boolean
herdado de HTMLElement.isEqualNode
isSameNode(Node | null)
O isSameNode() método da interface do Nó é um alias herdado para o === operador de igualdade estrita.
function isSameNode(otherNode: Node | null): boolean
Parâmetros
- otherNode
-
Node | null
Retornos
boolean
Herdado de HTMLElement.isSameNode
lookupNamespaceURI(string | null)
O lookupNamespaceURI() método da interface do nó usa um prefixo como parâmetro e retorna o URI do namespace associado a ele no nó fornecido, se encontrado (e null se não for).
function lookupNamespaceURI(prefix: string | null): string | null
Parâmetros
- prefix
-
string | null
Retornos
string | null
herdado de HTMLElement.lookupNamespaceURI
lookupPrefix(string | null)
O lookupPrefix() método da interface do nó retorna uma cadeia de caracteres que contém o prefixo para um determinado URI de namespace, se presente e null se não.
function lookupPrefix(namespace: string | null): string | null
Parâmetros
- namespace
-
string | null
Retornos
string | null
herdado de HTMLElement.lookupPrefix
matches(string)
O matches() método da interface Element testa se o elemento seria selecionado pelo seletor CSS especificado.
function matches(selectors: string): boolean
Parâmetros
- selectors
-
string
Retornos
boolean
Herdado de HTMLElement.matches
normalize()
O normalize() método da interface do Nó coloca o nó especificado e toda a subárvore em uma forma normalizada .
function normalize()
Herdado de HTMLElement.normalize
prepend((string | Node)[])
Insere nós antes do primeiro filho do nó, substituindo cadeias de caracteres em nós por nós de texto equivalentes.
Gerará um DOMException "HierarchyRequestError" se as restrições da árvore de nó forem violadas.
function prepend(nodes: (string | Node)[])
Parâmetros
- nodes
-
(string | Node)[]
Herdado de HTMLElement.prepend
querySelector<E>(string)
function querySelector<E>(selectors: string): E | null
Parâmetros
- selectors
-
string
Retornos
E | null
Herdado de HTMLElement.querySelector
querySelector<K>(K)
Retorna o primeiro elemento que é um descendente de nó que corresponde aos seletores.
function querySelector<K>(selectors: K): HTMLElementTagNameMap[K] | null
Parâmetros
- selectors
-
K
Retornos
HTMLElementTagNameMap[K] | null
Herdado de HTMLElement.querySelector
querySelector<K>(K)
function querySelector<K>(selectors: K): SVGElementTagNameMap[K] | null
Parâmetros
- selectors
-
K
Retornos
SVGElementTagNameMap[K] | null
Herdado de HTMLElement.querySelector
querySelector<K>(K)
function querySelector<K>(selectors: K): MathMLElementTagNameMap[K] | null
Parâmetros
- selectors
-
K
Retornos
MathMLElementTagNameMap[K] | null
Herdado de HTMLElement.querySelector
querySelector<K>(K)
Aviso
Essa API foi preterida.
function querySelector<K>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null
Parâmetros
- selectors
-
K
Retornos
HTMLElementDeprecatedTagNameMap[K] | null
Herdado de HTMLElement.querySelector
querySelectorAll<E>(string)
function querySelectorAll<E>(selectors: string): NodeListOf<E>
Parâmetros
- selectors
-
string
Retornos
NodeListOf<E>
herdado de HTMLElement.querySelectorAll
querySelectorAll<K>(K)
Retorna todos os descendentes de elementos de nó que correspondem aos seletores.
function querySelectorAll<K>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>
Parâmetros
- selectors
-
K
Retornos
NodeListOf<HTMLElementTagNameMap[K]>
herdado de HTMLElement.querySelectorAll
querySelectorAll<K>(K)
function querySelectorAll<K>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>
Parâmetros
- selectors
-
K
Retornos
NodeListOf<SVGElementTagNameMap[K]>
herdado de HTMLElement.querySelectorAll
querySelectorAll<K>(K)
function querySelectorAll<K>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>
Parâmetros
- selectors
-
K
Retornos
NodeListOf<MathMLElementTagNameMap[K]>
herdado de HTMLElement.querySelectorAll
querySelectorAll<K>(K)
Aviso
Essa API foi preterida.
function querySelectorAll<K>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>
Parâmetros
- selectors
-
K
Retornos
NodeListOf<HTMLElementDeprecatedTagNameMap[K]>
herdado de HTMLElement.querySelectorAll
releasePointerCapture(number)
O releasePointerCapture() método do conjunto anterior para um ponteiro específico (PointerEvent).
function releasePointerCapture(pointerId: number)
Parâmetros
- pointerId
-
number
Herdado de HTMLElement.releasePointerCapture
remove()
removeAttribute(string)
O método removeAttribute() Element remove o atributo com o nome especificado do elemento.
function removeAttribute(qualifiedName: string)
Parâmetros
- qualifiedName
-
string
herdado de HTMLElement.removeAttribute
removeAttributeNode(Attr)
O removeAttributeNode() método da interface Element remove o nó Attr especificado do elemento.
function removeAttributeNode(attr: Attr): Attr
Parâmetros
- attr
-
Attr
Retornos
Attr
herdado de HTMLElement.removeAttributeNode
removeAttributeNS(string | null, string)
O removeAttributeNS() método se você estiver trabalhando com HTML e não precisar especificar o atributo solicitado como sendo parte de um namespace específico, use o método Element.removeAttribute().
function removeAttributeNS(namespace: string | null, localName: string)
Parâmetros
- namespace
-
string | null
- localName
-
string
herdado de HTMLElement.removeAttributeNS
removeChild<T>(T)
O removeChild() método da interface do nó remove um nó filho do DOM e retorna o nó removido.
function removeChild<T>(child: T): T
Parâmetros
- child
-
T
Retornos
T
herdado de HTMLElement.removeChild
removeEventListener(string, EventListenerOrEventListenerObject, boolean | EventListenerOptions)
function removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions)
Parâmetros
- type
-
string
- listener
-
EventListenerOrEventListenerObject
- options
-
boolean | EventListenerOptions
herdado de HTMLElement.removeEventListener
removeEventListener<K>(K, (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, boolean | EventListenerOptions)
function removeEventListener<K>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions)
Parâmetros
- type
-
K
- listener
-
(this: HTMLElement, ev: HTMLElementEventMap[K]) => any
- options
-
boolean | EventListenerOptions
herdado de HTMLElement.removeEventListener
replaceChild<T>(Node, T)
O replaceChild() método da interface do Nó substitui um nó filho dentro do nó determinado (pai).
function replaceChild<T>(node: Node, child: T): T
Parâmetros
- node
-
Node
- child
-
T
Retornos
T
Herdado de HTMLElement.replaceChild
replaceChildren((string | Node)[])
Substitua todos os filhos do nó por nós, substituindo cadeias de caracteres em nós por nós de texto equivalentes.
Gerará um DOMException "HierarchyRequestError" se as restrições da árvore de nó forem violadas.
function replaceChildren(nodes: (string | Node)[])
Parâmetros
- nodes
-
(string | Node)[]
Herdado de HTMLElement.replaceChildren
replaceWith((string | Node)[])
Substitui o nó por nós, substituindo cadeias de caracteres em nós por nós de texto equivalentes.
Gerará um DOMException "HierarchyRequestError" se as restrições da árvore de nó forem violadas.
function replaceWith(nodes: (string | Node)[])
Parâmetros
- nodes
-
(string | Node)[]
Herdado de HTMLElement.replaceWith
requestFullscreen(FullscreenOptions)
O Element.requestFullscreen() método emite uma solicitação assíncrona para fazer com que o elemento seja exibido no modo de tela inteira.
function requestFullscreen(options?: FullscreenOptions): Promise<void>
Parâmetros
- options
-
FullscreenOptions
Retornos
Promise<void>
herdado de HTMLElement.requestFullscreen
requestPointerLock(PointerLockOptions)
O requestPointerLock() método da interface Element permite que você solicite assíncronamente que o ponteiro seja bloqueado no elemento fornecido.
function requestPointerLock(options?: PointerLockOptions): Promise<void>
Parâmetros
- options
-
PointerLockOptions
Retornos
Promise<void>
herdado de HTMLElement.requestPointerLock
scroll(number, number)
function scroll(x: number, y: number)
Parâmetros
- x
-
number
- y
-
number
Herdado de HTMLElement.scroll
scroll(ScrollToOptions)
O scroll() método da interface Element rola o elemento para um determinado conjunto de coordenadas dentro de um determinado elemento.
function scroll(options?: ScrollToOptions)
Parâmetros
- options
-
ScrollToOptions
Herdado de HTMLElement.scroll
scrollBy(number, number)
function scrollBy(x: number, y: number)
Parâmetros
- x
-
number
- y
-
number
herdado de HTMLElement.scrollBy
scrollBy(ScrollToOptions)
O scrollBy() método da interface Element rola um elemento pela quantidade fornecida.
function scrollBy(options?: ScrollToOptions)
Parâmetros
- options
-
ScrollToOptions
herdado de HTMLElement.scrollBy
scrollIntoView(boolean | ScrollIntoViewOptions)
O método da interface element scrollIntoView() rola os contêineres ancestrais do elemento de modo que o elemento no qual scrollIntoView() é chamado esteja visível para o usuário.
function scrollIntoView(arg?: boolean | ScrollIntoViewOptions)
Parâmetros
- arg
-
boolean | ScrollIntoViewOptions
Herdado de HTMLElement.scrollIntoView
scrollTo(number, number)
function scrollTo(x: number, y: number)
Parâmetros
- x
-
number
- y
-
number
herdado de HTMLElement.scrollTo
scrollTo(ScrollToOptions)
O scrollTo() método da interface Element rola para um determinado conjunto de coordenadas dentro de um determinado elemento.
function scrollTo(options?: ScrollToOptions)
Parâmetros
- options
-
ScrollToOptions
herdado de HTMLElement.scrollTo
setAttribute(string, string)
O setAttribute() método da interface Element define o valor de um atributo no elemento especificado.
function setAttribute(qualifiedName: string, value: string)
Parâmetros
- qualifiedName
-
string
- value
-
string
Herdado de HTMLElement.setAttribute
setAttributeNode(Attr)
O setAttributeNode() método da interface Element adiciona um novo nó Attr ao elemento especificado.
function setAttributeNode(attr: Attr): Attr | null
Parâmetros
- attr
-
Attr
Retornos
Attr | null
Herdado de HTMLElement.setAttributeNode
setAttributeNodeNS(Attr)
O setAttributeNodeNS() método da interface Element adiciona um novo nó Attr com espaçamento de nomes a um elemento.
function setAttributeNodeNS(attr: Attr): Attr | null
Parâmetros
- attr
-
Attr
Retornos
Attr | null
Herdado de HTMLElement.setAttributeNodeNS
setAttributeNS(string | null, string, string)
setAttributeNS adiciona um novo atributo ou altera o valor de um atributo com o namespace e o nome fornecidos.
function setAttributeNS(namespace: string | null, qualifiedName: string, value: string)
Parâmetros
- namespace
-
string | null
- qualifiedName
-
string
- value
-
string
herdado de HTMLElement.setAttributeNS
setHTMLUnsafe(string)
O setHTMLUnsafe() método da interface Element é usado para analisar uma cadeia de caracteres de HTML em um DocumentFragment, opcionalmente filtrando elementos e atributos indesejados e aqueles que não pertencem ao contexto e, em seguida, usando-o para substituir a subárvore do elemento no DOM.
function setHTMLUnsafe(html: string)
Parâmetros
- html
-
string
Herdado de HTMLElement.setHTMLUnsafe
setPointerCapture(number)
O setPointerCapture() método do destino de captura de eventos de ponteiro futuros.
function setPointerCapture(pointerId: number)
Parâmetros
- pointerId
-
number
herdado de HTMLElement.setPointerCapture
showPopover()
O showPopover() método da interface HTMLElement mostra um elemento Popover_API (ou seja, um que tem um atributo válido popover ) adicionando-o à camada superior.
function showPopover()
Herdado de HTMLElement.showPopover
toggleAttribute(string, boolean)
O toggleAttribute() método do presente e adicioná-lo se ele não estiver presente) no elemento fornecido.
function toggleAttribute(qualifiedName: string, force?: boolean): boolean
Parâmetros
- qualifiedName
-
string
- force
-
boolean
Retornos
boolean
herdado de HTMLElement.toggleAttribute
togglePopover(boolean)
O togglePopover() método da interface HTMLElement alterna um elemento Popover_API (ou seja, um que tem um atributo válido popover ) entre os estados ocultos e mostrados.
function togglePopover(options?: boolean): boolean
Parâmetros
- options
-
boolean
Retornos
boolean
Herdado de HTMLElement.togglePopover
webkitMatchesSelector(string)
function webkitMatchesSelector(selectors: string): boolean
Parâmetros
- selectors
-
string
Retornos
boolean
herdado de HTMLElement.webkitMatchesSelector