HTMLIFrameElement interface
Fornece propriedades e métodos especiais (além daqueles da interface HTMLElement que também tem disponível por herança) para manipular o layout e a apresentação de elementos de quadro embutidos.
- Extends
-
HTMLElement
Propriedades
| align | Define ou recupera como o objeto está alinhado com o texto adjacente. |
| allow | |
| allow |
|
| content |
Recupera o objeto de documento da página ou quadro. |
| content |
Recupera o objeto do especificado. |
| frame |
Define ou recupera se uma borda deve ser exibida para o quadro. |
| height | Define ou recupera a altura do objeto. |
| long |
Define ou recupera um URI para uma descrição longa do objeto. |
| margin |
Define ou recupera as alturas das margens superior e inferior antes de exibir o texto em um quadro. |
| margin |
Define ou recupera as larguras das margens esquerda e direita antes de exibir o texto em um quadro. |
| moz |
|
| ms |
|
| name | Define ou recupera o nome do quadro. |
| referrer |
|
| sandbox | |
| scrolling | Define ou recupera se o quadro pode ser rolado. |
| src | Define ou recupera uma URL a ser carregada pelo objeto. |
| srcdoc | Define ou recupera o conteúdo da página que deve conter. |
| webkit |
|
| width | Define ou recupera a largura do objeto. |
Propriedades Herdadas
| access |
|
| access |
|
| 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 | |
| ATTRIBUTE_NODE | |
| autocapitalize | |
| autofocus | |
| baseURI | Retorna a URL base do documento do nó do nó. |
| CDATA_SECTION_NODE | node é um nó CDATASection . |
| child |
|
| child |
Devolve as crianças. |
| children | Retorna os elementos filho. |
| class |
Permite a manipulação do atributo de conteúdo de classe do elemento como um conjunto de tokens separados por espaços em branco por meio de um objeto DOMTokenList. |
| class |
Retorna o valor do atributo de conteúdo de classe do elemento. Pode ser configurado para alterá-lo. |
| client |
|
| client |
|
| client |
|
| client |
|
| COMMENT_NODE | é um nó Comentário. |
| content |
|
| dataset | |
| dir | |
| DOCUMENT_FRAGMENT_NODE | é um nó DocumentFragment. |
| DOCUMENT_NODE | node é um documento. |
| DOCUMENT_POSITION_CONTAINED_BY | Defina quando outro é um descendente do nó. |
| DOCUMENT_POSITION_CONTAINS | Defina quando outro é um ancestral do nó. |
| DOCUMENT_POSITION_DISCONNECTED | Defina quando nó e outros não estão na mesma árvore. |
| DOCUMENT_POSITION_FOLLOWING | Defina quando outro está seguindo o nó. |
| DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC | |
| DOCUMENT_POSITION_PRECEDING | Defina quando outro é o nó anterior. |
| DOCUMENT_TYPE_NODE | node é um doctype. |
| draggable | |
| ELEMENT_NODE | nó é um elemento. |
| enter |
|
| ENTITY_NODE | |
| ENTITY_REFERENCE_NODE | |
| first |
Devolve o primeiro filho. |
| first |
Retorna o primeiro filho que é um elemento e null caso contrário. |
| hidden | |
| id | Retorna o valor do atributo id content do elemento. Pode ser configurado para alterá-lo. |
| inert | |
| innerHTML | |
| inner |
|
| input |
|
| is |
Retorna true se o nó estiver conectado e false caso contrário. |
| is |
|
| lang | |
| last |
Devolve o último filho. |
| last |
Retorna o último filho que é um elemento e null caso contrário. |
| local |
Retorna o nome local. |
| namespaceURI | Retorna o namespace. |
| next |
Retorna o primeiro irmão a seguir que é um elemento e null caso contrário. |
| next |
Devolve o próximo irmão. |
| node |
Retorna uma cadeia de caracteres apropriada para o tipo de nó. |
| node |
Retorna o tipo de nó. |
| node |
|
| nonce | |
| NOTATION_NODE | |
| offset |
|
| offset |
|
| offset |
|
| offset |
|
| offset |
|
| onabort | É acionado quando o usuário aborta o download. |
| onanimationcancel | |
| onanimationend | |
| onanimationiteration | |
| onanimationstart | |
| onauxclick | |
| onbeforeinput | |
| onblur | É acionado quando o objeto perde o foco de entrada. |
| oncancel | |
| oncanplay | Ocorre quando a reprodução é possível, mas exigiria buffering adicional. |
| oncanplaythrough | |
| onchange | É acionado quando o conteúdo do objeto ou da seleção é alterado. |
| onclick | É acionado quando o usuário clica no botão esquerdo do mouse no objeto |
| onclose | |
| oncontextmenu | É acionado quando o usuário clica no botão direito do mouse na área do cliente, abrindo o menu de contexto. |
| oncopy | |
| oncuechange | |
| oncut | |
| ondblclick | É acionado quando o usuário clica duas vezes no objeto. |
| ondrag | Dispara no objeto de origem continuamente durante uma operação de arrastar. |
| ondragend | Dispara no objeto de origem quando o usuário libera o mouse no fechamento de uma operação de arrastar. |
| ondragenter | Dispara no elemento de destino quando o usuário arrasta o objeto para um destino de soltar válido. |
| ondragleave | Dispara no objeto de destino quando o usuário move o mouse para fora de um destino de soltar válido durante uma operação de arrastar. |
| ondragover | Dispara no elemento de destino continuamente enquanto o usuário arrasta o objeto sobre um destino de soltar válido. |
| ondragstart | Dispara no objeto de origem quando o usuário começa a arrastar uma seleção de texto ou objeto selecionado. |
| ondrop | |
| ondurationchange | Ocorre quando o atributo duration é atualizado. |
| onemptied | Ocorre quando o elemento de mídia é redefinido para seu estado inicial. |
| onended | Ocorre quando o fim da reprodução é atingido. |
| onerror | É acionado quando ocorre um erro durante o carregamento do objeto. |
| onfocus | É acionado quando o objeto recebe foco. |
| onformdata | |
| onfullscreenchange | |
| onfullscreenerror | |
| ongotpointercapture | |
| oninput | |
| oninvalid | |
| onkeydown | É acionado quando o usuário pressiona uma tecla. |
| onkeypress | É acionado quando o usuário pressiona uma tecla alfanumérica. |
| onkeyup | É acionado quando o usuário libera uma chave. |
| onload | É acionado imediatamente após o navegador carregar o objeto. |
| onloadeddata | Ocorre quando os dados de mídia são carregados na posição de reprodução atual. |
| onloadedmetadata | Ocorre quando a duração e as dimensões dos meios de comunicação foram determinadas. |
| onloadstart | Ocorre quando o Internet Explorer começa a procurar dados de mídia. |
| onlostpointercapture | |
| onmousedown | É acionado quando o usuário clica no objeto com um botão do mouse. |
| onmouseenter | |
| onmouseleave | |
| onmousemove | É acionado quando o usuário move o mouse sobre o objeto. |
| onmouseout | É acionado quando o usuário move o ponteiro do mouse para fora dos limites do objeto. |
| onmouseover | É acionado quando o usuário move o ponteiro do mouse para o objeto. |
| onmouseup | É acionado quando o usuário libera um botão do mouse enquanto o mouse está sobre o objeto. |
| onpaste | |
| onpause | Ocorre quando a reprodução é pausada. |
| onplay | Ocorre quando o método de reprodução é solicitado. |
| onplaying | Ocorre quando o áudio ou vídeo começou a ser reproduzido. |
| onpointercancel | |
| onpointerdown | |
| onpointerenter | |
| onpointerleave | |
| onpointermove | |
| onpointerout | |
| onpointerover | |
| onpointerup | |
| onprogress | Ocorre para indicar o progresso durante o download de dados de mídia. |
| onratechange | Ocorre quando a taxa de reprodução é aumentada ou diminuída. |
| onreset | É acionado quando o usuário redefine um formulário. |
| onresize | |
| onscroll | É acionado quando o usuário reposiciona a caixa de rolagem na barra de rolagem do objeto. |
| onsecuritypolicyviolation | |
| onseeked | Ocorre quando a operação de busca termina. |
| onseeking | Ocorre quando a posição de reprodução atual é movida. |
| onselect | É acionado quando a seleção atual é alterada. |
| onselectionchange | |
| onselectstart | |
| onslotchange | |
| onstalled | Ocorre quando o download foi interrompido. |
| onsubmit | |
| onsuspend | Ocorre se a operação de carga tiver sido intencionalmente interrompida. |
| ontimeupdate | Ocorre para indicar a posição de reprodução atual. |
| ontoggle | |
| ontouchcancel | |
| ontouchend | |
| ontouchmove | |
| ontouchstart | |
| ontransitioncancel | |
| ontransitionend | |
| ontransitionrun | |
| ontransitionstart | |
| onvolumechange | Ocorre quando o volume é alterado ou a reprodução é silenciada ou desativada. |
| onwaiting | Ocorre quando a reprodução para porque o próximo quadro de um recurso de vídeo não está disponível. |
| onwebkitanimationend | |
| onwebkitanimationiteration | |
| onwebkitanimationstart | |
| onwebkittransitionend | |
| onwheel | |
| outerHTML | |
| outer |
|
| owner |
|
| parent |
Retorna o elemento pai. |
| parent |
Devolve o pai. |
| part | |
| prefix | Retorna o prefixo do namespace. |
| previous |
Retorna o primeiro irmão anterior que é um elemento e null caso contrário. |
| previous |
Devolve o irmão anterior. |
| PROCESSING_INSTRUCTION_NODE | é um nó ProcessingInstruction. |
| role | |
| scroll |
|
| scroll |
|
| scroll |
|
| scroll |
|
| shadow |
Retorna a raiz de sombra do elemento, se houver, e se o modo da raiz de sombra for "aberto", e nulo caso contrário. |
| slot | Retorna o valor do atributo de conteúdo do slot do elemento. Pode ser configurado para alterá-lo. |
| spellcheck | |
| style | |
| tab |
|
| tag |
Retorna o nome qualificado com caixa alta HTML. |
| text |
|
| TEXT_NODE | é um nó de texto. |
| title | |
| translate |
Métodos
Métodos Herdados
| after((string | Node)[]) | Insere nós logo após o nó, substituindo cadeias de caracteres em nós por nós de texto equivalentes. Lança um "HierarchyRequestError" DOMException se as restrições da árvore de nó forem violadas. |
| animate(null | 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. Lança um "HierarchyRequestError" DOMException se as restrições da árvore de nó forem violadas. |
| append |
|
| attach |
|
| attach |
Cria uma raiz de sombra para o elemento e a retorna. |
| before((string | Node)[]) | Insere nós imediatamente antes do nó, substituindo cadeias de caracteres em nós por nós de texto equivalentes. Lança um "HierarchyRequestError" DOMException se as restrições da árvore de nó forem violadas. |
| blur() | |
| click() | |
| clone |
Retorna uma cópia do nó. Se deep for true, a cópia também inclui os descendentes do nó. |
| closest<E>(string) | |
| closest<K>(K) | Retorna o primeiro ancestral inclusivo (começando no elemento) que corresponde aos seletores e null caso contrário. |
| closest<K>(K) | |
| compare |
Retorna uma máscara de bits indicando a posição de outro em relação ao nó. |
| contains(null | Node) | Retorna true se other for um descendente inclusivo do nó e false caso contrário. |
| dispatch |
Despacha um evento de evento sintético para o destino e retorna true se o valor do atributo cancelável de qualquer evento for false ou se seu método preventDefault() não tiver sido invocado, e false caso contrário. |
| focus(Focus |
|
| get |
|
| get |
Retorna o primeiro atributo do elemento cujo nome qualificado é qualifiedName e null se não houver esse atributo de outra forma. |
| get |
Retorna os nomes qualificados de todos os atributos do elemento. Pode conter duplicatas. |
| get |
|
| get |
|
| get |
Retorna o atributo do elemento cujo namespace é namespace e o nome local é localName, e null se não houver esse atributo de outra forma. |
| get |
|
| get |
|
| get |
Retorna um HTMLCollection dos elementos no objeto no qual o método foi invocado (um documento ou um elemento) que têm todas as classes dadas por classNames. O argumento classNames é interpretado como uma lista de classes separada por espaços. |
| get |
|
| get |
|
| get |
|
| get |
|
| get |
|
| get |
|
| get |
Retorna a raiz do nó. |
| has |
Retorna true se o elemento tiver um atributo cujo nome qualificado é qualifiedName e false caso contrário. |
| has |
Retorna true se o elemento tiver um atributo cujo namespace é namespace e o nome local é localName. |
| has |
Retorna true se o elemento tiver atributos, e false caso contrário. |
| has |
Retorna se o nó tem filhos. |
| has |
|
| insert |
|
| insert |
|
| insert |
|
| insert |
|
| is |
|
| is |
Retorna se node e otherNode têm as mesmas propriedades. |
| is |
|
| lookup |
|
| lookup |
|
| matches(string) | Retorna true se os seletores correspondentes à raiz do elemento produzirem o elemento e false caso contrário. |
| normalize() | Remove nós de texto exclusivos vazios e concatena os dados dos nós de texto exclusivos contíguos restantes no primeiro de seus nós. |
| prepend((string | Node)[]) | Insere nós antes do primeiro filho do nó, enquanto substitui cadeias de caracteres em nós por nós de texto equivalentes. Lança um "HierarchyRequestError" DOMException se as restrições da árvore de nó forem violadas. |
| query |
|
| query |
Retorna o primeiro elemento que é um descendente do nó que corresponde aos seletores. |
| query |
|
| query |
|
| query |
Retorna todos os descendentes de elementos do nó que correspondem aos seletores. |
| query |
|
| release |
|
| remove() | Remove o nó. |
| remove |
Remove o primeiro atributo do elemento cujo nome qualificado é qualifiedName. |
| remove |
|
| remove |
Remove o atributo do elemento cujo namespace é namespace e o nome local é localName. |
| remove |
|
| replace |
|
| replace |
Substitua todos os filhos do nó por nós, enquanto substitui cadeias de caracteres em nós por nós de texto equivalentes. Lança um "HierarchyRequestError" DOMException se as restrições da árvore de nó forem violadas. |
| replace |
Substitui nó por nós, substituindo cadeias de caracteres em nós por nós de texto equivalentes. Lança um "HierarchyRequestError" DOMException se as restrições da árvore de nó forem violadas. |
| request |
Exibe o elemento em tela cheia e resolve a promessa quando terminar. Quando fornecido, o membro navigationUI das opções indica se mostrar a interface do usuário de navegação em tela cheia é preferível ou não. Se definido como "mostrar", a simplicidade de navegação é preferível ao espaço na tela e, se definido como "ocultar", é preferível mais espaço na tela. Os agentes de usuário são sempre livres para honrar a preferência do usuário sobre a do aplicativo. O valor padrão "auto" indica nenhuma preferência de aplicativo. |
| request |
|
| scroll(number, number) | |
| scroll(Scroll |
|
| scroll |
|
| scroll |
|
| scroll |
|
| scroll |
|
| scroll |
|
| set |
Define o valor do primeiro atributo do elemento cujo nome qualificado é qualifiedName como value. |
| set |
|
| set |
|
| set |
Define o valor do atributo do elemento cujo namespace é namespace e local name é localName como value. |
| set |
|
| toggle |
Se a força não for dada, "alterna" qualifiedName, removendo-o se estiver presente e adicionando-o se não estiver presente. Se force for true, adiciona qualifiedName. Se force for false, remove qualifiedName. Retorna true se qualifiedName estiver presente agora e false caso contrário. |
| webkit |
Detalhes de Propriedade
align
Aviso
Esta API foi preterida.
Define ou recupera como o objeto está alinhado com o texto adjacente.
align: string
Valor de Propriedade
string
allow
allow: string
Valor de Propriedade
string
allowFullscreen
allowFullscreen: boolean
Valor de Propriedade
boolean
contentDocument
Recupera o objeto de documento da página ou quadro.
contentDocument: null | Document
Valor de Propriedade
null | Document
contentWindow
Recupera o objeto do especificado.
contentWindow: null | Window
Valor de Propriedade
null | Window
frameBorder
Aviso
Esta API foi preterida.
Define ou recupera se uma borda deve ser exibida para o quadro.
frameBorder: string
Valor de Propriedade
string
height
Define ou recupera a altura do objeto.
height: string
Valor de Propriedade
string
longDesc
Aviso
Esta API foi preterida.
Define ou recupera um URI para uma descrição longa do objeto.
longDesc: string
Valor de Propriedade
string
marginHeight
Aviso
Esta API foi preterida.
Define ou recupera as alturas das margens superior e inferior antes de exibir o texto em um quadro.
marginHeight: string
Valor de Propriedade
string
marginWidth
Aviso
Esta API foi preterida.
Define ou recupera as larguras das margens esquerda e direita antes de exibir o texto em um quadro.
marginWidth: string
Valor de Propriedade
string
mozRequestFullScreen
mozRequestFullScreen: Function
Valor de Propriedade
Function
msRequestFullscreen
msRequestFullscreen: Function
Valor de Propriedade
Function
name
Define ou recupera o nome do quadro.
name: string
Valor de Propriedade
string
referrerPolicy
referrerPolicy: ReferrerPolicy
Valor de Propriedade
ReferrerPolicy
sandbox
sandbox: DOMTokenList
Valor de Propriedade
DOMTokenList
scrolling
Aviso
Esta API foi preterida.
Define ou recupera se o quadro pode ser rolado.
scrolling: string
Valor de Propriedade
string
src
Define ou recupera uma URL a ser carregada pelo objeto.
src: string
Valor de Propriedade
string
srcdoc
Define ou recupera o conteúdo da página que deve conter.
srcdoc: string
Valor de Propriedade
string
webkitRequestFullscreen
webkitRequestFullscreen: () => void
Valor de Propriedade
() => void
width
Define ou recupera a largura do objeto.
width: string
Valor de Propriedade
string
Detalhes da Propriedade Herdada
accessKey
accessKey: string
Valor de Propriedade
string
herdado de HTMLElement.accessKey
accessKeyLabel
accessKeyLabel: string
Valor de Propriedade
string
herdado de HTMLElement.accessKeyLabel
ariaAtomic
ariaAtomic: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaAtomic
ariaAutoComplete
ariaAutoComplete: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaAutoComplete
ariaBusy
ariaBusy: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaBusy
ariaChecked
ariaChecked: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaChecked
ariaColCount
ariaColCount: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaColCount
ariaColIndex
ariaColIndex: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaColIndex
ariaColIndexText
ariaColIndexText: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaColIndexText
ariaColSpan
ariaColSpan: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaColSpan
ariaCurrent
ariaCurrent: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaCurrent
ariaDisabled
ariaDisabled: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaDisabled
ariaExpanded
ariaExpanded: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaExpanded
ariaHasPopup
ariaHasPopup: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaHasPopup
ariaHidden
ariaHidden: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaHidden
ariaInvalid
ariaInvalid: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaInvalid
ariaKeyShortcuts
ariaKeyShortcuts: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaKeyShortcuts
ariaLabel
ariaLabel: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaLabel
ariaLevel
ariaLevel: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaLevel
ariaLive
ariaLive: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaLive
ariaModal
ariaModal: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaModal
ariaMultiLine
ariaMultiLine: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaMultiLine
ariaMultiSelectable
ariaMultiSelectable: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaMultiSelectable
ariaOrientation
ariaOrientation: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaOrientation
ariaPlaceholder
ariaPlaceholder: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaPlaceholder
ariaPosInSet
ariaPosInSet: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaPosInSet
ariaPressed
ariaPressed: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaPressed
ariaReadOnly
ariaReadOnly: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaReadOnly
ariaRequired
ariaRequired: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaRequired
ariaRoleDescription
ariaRoleDescription: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaRoleDescription
ariaRowCount
ariaRowCount: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaRowCount
ariaRowIndex
ariaRowIndex: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaRowIndex
ariaRowIndexText
ariaRowIndexText: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaRowIndexText
ariaRowSpan
ariaRowSpan: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaRowSpan
ariaSelected
ariaSelected: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaSelected
ariaSetSize
ariaSetSize: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaSetSize
ariaSort
ariaSort: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaSort
ariaValueMax
ariaValueMax: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaValueMax
ariaValueMin
ariaValueMin: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaValueMin
ariaValueNow
ariaValueNow: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaValueNow
ariaValueText
ariaValueText: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.ariaValueText
assignedSlot
assignedSlot: null | HTMLSlotElement
Valor de Propriedade
null | HTMLSlotElement
herdado de HTMLElement.assignedSlot
attributes
attributes: NamedNodeMap
Valor de Propriedade
NamedNodeMap
herdado de HTMLElement.attributes
ATTRIBUTE_NODE
ATTRIBUTE_NODE: number
Valor de Propriedade
number
herdado de HTMLElement.ATTRIBUTE_NODE
autocapitalize
autocapitalize: string
Valor de Propriedade
string
herdado de HTMLElement.autocapitalize
autofocus
autofocus: boolean
Valor de Propriedade
boolean
herdado de HTMLElement.autofocus
baseURI
Retorna a URL base do documento do nó do nó.
baseURI: string
Valor de Propriedade
string
herdado de HTMLElement.baseURI
CDATA_SECTION_NODE
node é um nó CDATASection .
CDATA_SECTION_NODE: number
Valor de Propriedade
number
herdada de HTMLElement.CDATA_SECTION_NODE
childElementCount
childElementCount: number
Valor de Propriedade
number
herdado de HTMLElement.childElementCount
childNodes
Devolve as crianças.
childNodes: NodeListOf<ChildNode>
Valor de Propriedade
NodeListOf<ChildNode>
herdado de HTMLElement.childNodes
children
Retorna os elementos filho.
children: HTMLCollection
Valor de Propriedade
HTMLCollection
herdado de HTMLElement.children
classList
Permite a manipulação do atributo de conteúdo de classe do elemento como um conjunto de tokens separados por espaços em branco por meio de um objeto DOMTokenList.
classList: DOMTokenList
Valor de Propriedade
DOMTokenList
herdado de HTMLElement.classList
className
Retorna o valor do atributo de conteúdo de classe do elemento. Pode ser configurado para alterá-lo.
className: string
Valor de Propriedade
string
herdado de HTMLElement.className
clientHeight
clientHeight: number
Valor de Propriedade
number
herdado de HTMLElement.clientHeight
clientLeft
clientLeft: number
Valor de Propriedade
number
herdado de HTMLElement.clientLeft
clientTop
clientTop: number
Valor de Propriedade
number
herdado de HTMLElement.clientTop
clientWidth
clientWidth: number
Valor de Propriedade
number
herdado de HTMLElement.clientWidth
COMMENT_NODE
é um nó Comentário.
COMMENT_NODE: number
Valor de Propriedade
number
herdado de HTMLElement.COMMENT_NODE
contentEditable
contentEditable: string
Valor de Propriedade
string
herdado de HTMLElement.contentEditable
dataset
dataset: DOMStringMap
Valor de Propriedade
DOMStringMap
herdado de HTMLElement.dataset
dir
dir: string
Valor de Propriedade
string
herdado de HTMLElement.dir
DOCUMENT_FRAGMENT_NODE
é um nó DocumentFragment.
DOCUMENT_FRAGMENT_NODE: number
Valor de Propriedade
number
herdada de HTMLElement.DOCUMENT_FRAGMENT_NODE
DOCUMENT_NODE
node é um documento.
DOCUMENT_NODE: number
Valor de Propriedade
number
herdada de HTMLElement.DOCUMENT_NODE
DOCUMENT_POSITION_CONTAINED_BY
Defina quando outro é um descendente do nó.
DOCUMENT_POSITION_CONTAINED_BY: number
Valor de Propriedade
number
herdada de HTMLElement.DOCUMENT_POSITION_CONTAINED_BY
DOCUMENT_POSITION_CONTAINS
Defina quando outro é um ancestral do nó.
DOCUMENT_POSITION_CONTAINS: number
Valor de Propriedade
number
herdada de HTMLElement.DOCUMENT_POSITION_CONTAINS
DOCUMENT_POSITION_DISCONNECTED
Defina quando nó e outros não estão na mesma árvore.
DOCUMENT_POSITION_DISCONNECTED: number
Valor de Propriedade
number
herdada de HTMLElement.DOCUMENT_POSITION_DISCONNECTED
DOCUMENT_POSITION_FOLLOWING
Defina quando outro está seguindo o nó.
DOCUMENT_POSITION_FOLLOWING: number
Valor de Propriedade
number
herdado de HTMLElement.DOCUMENT_POSITION_FOLLOWING
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number
Valor de Propriedade
number
herdada de HTMLElement.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
DOCUMENT_POSITION_PRECEDING
Defina quando outro é o nó anterior.
DOCUMENT_POSITION_PRECEDING: number
Valor de Propriedade
number
herdado de HTMLElement.DOCUMENT_POSITION_PRECEDING
DOCUMENT_TYPE_NODE
node é um doctype.
DOCUMENT_TYPE_NODE: number
Valor de Propriedade
number
herdada de HTMLElement.DOCUMENT_TYPE_NODE
draggable
draggable: boolean
Valor de Propriedade
boolean
herdado de HTMLElement.draggable
ELEMENT_NODE
nó é um elemento.
ELEMENT_NODE: number
Valor de Propriedade
number
herdado de HTMLElement.ELEMENT_NODE
enterKeyHint
enterKeyHint: string
Valor de Propriedade
string
herdado de HTMLElement.enterKeyHint
ENTITY_NODE
ENTITY_NODE: number
Valor de Propriedade
number
herdada de HTMLElement.ENTITY_NODE
ENTITY_REFERENCE_NODE
ENTITY_REFERENCE_NODE: number
Valor de Propriedade
number
herdada de HTMLElement.ENTITY_REFERENCE_NODE
firstChild
Devolve o primeiro filho.
firstChild: null | ChildNode
Valor de Propriedade
null | ChildNode
herdado de HTMLElement.firstChild
firstElementChild
Retorna o primeiro filho que é um elemento e null caso contrário.
firstElementChild: null | Element
Valor de Propriedade
null | Element
herdado de HTMLElement.firstElementChild
hidden
hidden: boolean
Valor de Propriedade
boolean
herdado de HTMLElement.hidden
id
Retorna o valor do atributo id content do elemento. Pode ser configurado para alterá-lo.
id: string
Valor de Propriedade
string
herdado de HTMLElement.id
inert
inert: boolean
Valor de Propriedade
boolean
herdado de HTMLElement.inert
innerHTML
innerHTML: string
Valor de Propriedade
string
herdado de HTMLElement.innerHTML
innerText
innerText: string
Valor de Propriedade
string
herdado de HTMLElement.innerText
inputMode
inputMode: string
Valor de Propriedade
string
herdado de HTMLElement.inputMode
isConnected
Retorna true se o nó estiver conectado e false caso contrário.
isConnected: boolean
Valor de Propriedade
boolean
herdado de HTMLElement.isConnected
isContentEditable
isContentEditable: boolean
Valor de Propriedade
boolean
herdado de HTMLElement.isContentEditable
lang
lang: string
Valor de Propriedade
string
herdado de HTMLElement.lang
lastChild
Devolve o último filho.
lastChild: null | ChildNode
Valor de Propriedade
null | ChildNode
herdado de HTMLElement.lastChild
lastElementChild
Retorna o último filho que é um elemento e null caso contrário.
lastElementChild: null | Element
Valor de Propriedade
null | Element
herdado de HTMLElement.lastElementChild
localName
Retorna o nome local.
localName: string
Valor de Propriedade
string
herdado de HTMLElement.localName
namespaceURI
Retorna o namespace.
namespaceURI: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.namespaceURI
nextElementSibling
Retorna o primeiro irmão a seguir que é um elemento e null caso contrário.
nextElementSibling: null | Element
Valor de Propriedade
null | Element
herdado de HTMLElement.nextElementSibling
nextSibling
Devolve o próximo irmão.
nextSibling: null | ChildNode
Valor de Propriedade
null | ChildNode
herdado de HTMLElement.nextSibling
nodeName
Retorna uma cadeia de caracteres apropriada para o tipo de nó.
nodeName: string
Valor de Propriedade
string
herdado de HTMLElement.nodeName
nodeType
Retorna o tipo de nó.
nodeType: number
Valor de Propriedade
number
herdado de HTMLElement.nodeType
nodeValue
nodeValue: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.nodeValue
nonce
nonce?: string
Valor de Propriedade
string
herdado de HTMLElement.nonce
NOTATION_NODE
NOTATION_NODE: number
Valor de Propriedade
number
herdada de HTMLElement.NOTATION_NODE
offsetHeight
offsetHeight: number
Valor de Propriedade
number
herdado de HTMLElement.offsetHeight
offsetLeft
offsetLeft: number
Valor de Propriedade
number
herdado de HTMLElement.offsetLeft
offsetParent
offsetParent: null | Element
Valor de Propriedade
null | Element
herdado de HTMLElement.offsetParent
offsetTop
offsetTop: number
Valor de Propriedade
number
herdado de HTMLElement.offsetTop
offsetWidth
offsetWidth: number
Valor de Propriedade
number
herdado de HTMLElement.offsetWidth
onabort
É acionado quando o usuário aborta o download.
onabort: null | (this: GlobalEventHandlers, ev: UIEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: UIEvent) => any
herdado de HTMLElement.onabort
onanimationcancel
onanimationcancel: null | (this: GlobalEventHandlers, ev: AnimationEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: AnimationEvent) => any
herdado de HTMLElement.onanimationcancel
onanimationend
onanimationend: null | (this: GlobalEventHandlers, ev: AnimationEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: AnimationEvent) => any
herdado de HTMLElement.onanimationend
onanimationiteration
onanimationiteration: null | (this: GlobalEventHandlers, ev: AnimationEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: AnimationEvent) => any
herdado de HTMLElement.onanimationiteration
onanimationstart
onanimationstart: null | (this: GlobalEventHandlers, ev: AnimationEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: AnimationEvent) => any
herdado de HTMLElement.onanimationstart
onauxclick
onauxclick: null | (this: GlobalEventHandlers, ev: MouseEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: MouseEvent) => any
herdado de HTMLElement.onauxclick
onbeforeinput
onbeforeinput: null | (this: GlobalEventHandlers, ev: InputEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: InputEvent) => any
herdado de HTMLElement.onbeforeinput
onblur
É acionado quando o objeto perde o foco de entrada.
onblur: null | (this: GlobalEventHandlers, ev: FocusEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: FocusEvent) => any
herdado de HTMLElement.onblur
oncancel
oncancel: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.oncancel
oncanplay
Ocorre quando a reprodução é possível, mas exigiria buffering adicional.
oncanplay: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.oncanplay
oncanplaythrough
oncanplaythrough: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.oncanplaythrough
onchange
É acionado quando o conteúdo do objeto ou da seleção é alterado.
onchange: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.onchange
onclick
É acionado quando o usuário clica no botão esquerdo do mouse no objeto
onclick: null | (this: GlobalEventHandlers, ev: MouseEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: MouseEvent) => any
herdado de HTMLElement.onclick
onclose
onclose: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.onclose
oncontextmenu
É acionado quando o usuário clica no botão direito do mouse na área do cliente, abrindo o menu de contexto.
oncontextmenu: null | (this: GlobalEventHandlers, ev: MouseEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: MouseEvent) => any
herdado de HTMLElement.oncontextmenu
oncopy
oncopy: null | (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any
Valor de Propriedade
null | (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any
herdado de HTMLElement.oncopy
oncuechange
oncuechange: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.oncuechange
oncut
oncut: null | (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any
Valor de Propriedade
null | (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any
herdado de HTMLElement.oncut
ondblclick
É acionado quando o usuário clica duas vezes no objeto.
ondblclick: null | (this: GlobalEventHandlers, ev: MouseEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: MouseEvent) => any
herdado de HTMLElement.ondblclick
ondrag
Dispara no objeto de origem continuamente durante uma operação de arrastar.
ondrag: null | (this: GlobalEventHandlers, ev: DragEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: DragEvent) => any
herdado de HTMLElement.ondrag
ondragend
Dispara no objeto de origem quando o usuário libera o mouse no fechamento de uma operação de arrastar.
ondragend: null | (this: GlobalEventHandlers, ev: DragEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: DragEvent) => any
herdado de HTMLElement.ondragend
ondragenter
Dispara no elemento de destino quando o usuário arrasta o objeto para um destino de soltar válido.
ondragenter: null | (this: GlobalEventHandlers, ev: DragEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: DragEvent) => any
herdado de HTMLElement.ondragenter
ondragleave
Dispara no objeto de destino quando o usuário move o mouse para fora de um destino de soltar válido durante uma operação de arrastar.
ondragleave: null | (this: GlobalEventHandlers, ev: DragEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: DragEvent) => any
herdado de HTMLElement.ondragleave
ondragover
Dispara no elemento de destino continuamente enquanto o usuário arrasta o objeto sobre um destino de soltar válido.
ondragover: null | (this: GlobalEventHandlers, ev: DragEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: DragEvent) => any
herdado de HTMLElement.ondragover
ondragstart
Dispara no objeto de origem quando o usuário começa a arrastar uma seleção de texto ou objeto selecionado.
ondragstart: null | (this: GlobalEventHandlers, ev: DragEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: DragEvent) => any
herdado de HTMLElement.ondragstart
ondrop
ondrop: null | (this: GlobalEventHandlers, ev: DragEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: DragEvent) => any
herdado de HTMLElement.ondrop
ondurationchange
Ocorre quando o atributo duration é atualizado.
ondurationchange: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.ondurationchange
onemptied
Ocorre quando o elemento de mídia é redefinido para seu estado inicial.
onemptied: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.onemptied
onended
Ocorre quando o fim da reprodução é atingido.
onended: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.onended
onerror
É acionado quando ocorre um erro durante o carregamento do objeto.
onerror: OnErrorEventHandler
Valor de Propriedade
OnErrorEventHandler
herdado de HTMLElement.onerror
onfocus
É acionado quando o objeto recebe foco.
onfocus: null | (this: GlobalEventHandlers, ev: FocusEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: FocusEvent) => any
herdado de HTMLElement.onfocus
onformdata
onformdata: null | (this: GlobalEventHandlers, ev: FormDataEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: FormDataEvent) => any
herdado de HTMLElement.onformdata
onfullscreenchange
onfullscreenchange: null | (this: Element, ev: Event) => any
Valor de Propriedade
null | (this: Element, ev: Event) => any
herdado de HTMLElement.onfullscreenchange
onfullscreenerror
onfullscreenerror: null | (this: Element, ev: Event) => any
Valor de Propriedade
null | (this: Element, ev: Event) => any
herdado de HTMLElement.onfullscreenerror
ongotpointercapture
ongotpointercapture: null | (this: GlobalEventHandlers, ev: PointerEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: PointerEvent) => any
herdado de HTMLElement.ongotpointercapture
oninput
oninput: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.oninput
oninvalid
oninvalid: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.oninvalid
onkeydown
É acionado quando o usuário pressiona uma tecla.
onkeydown: null | (this: GlobalEventHandlers, ev: KeyboardEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: KeyboardEvent) => any
herdado de HTMLElement.onkeydown
onkeypress
Aviso
Esta API foi preterida.
É acionado quando o usuário pressiona uma tecla alfanumérica.
onkeypress: null | (this: GlobalEventHandlers, ev: KeyboardEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: KeyboardEvent) => any
herdado de HTMLElement.onkeypress
onkeyup
É acionado quando o usuário libera uma chave.
onkeyup: null | (this: GlobalEventHandlers, ev: KeyboardEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: KeyboardEvent) => any
herdado de HTMLElement.onkeyup
onload
É acionado imediatamente após o navegador carregar o objeto.
onload: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.onload
onloadeddata
Ocorre quando os dados de mídia são carregados na posição de reprodução atual.
onloadeddata: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.onloadeddata
onloadedmetadata
Ocorre quando a duração e as dimensões dos meios de comunicação foram determinadas.
onloadedmetadata: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.onloadedmetadata
onloadstart
Ocorre quando o Internet Explorer começa a procurar dados de mídia.
onloadstart: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.onloadstart
onlostpointercapture
onlostpointercapture: null | (this: GlobalEventHandlers, ev: PointerEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: PointerEvent) => any
herdado de HTMLElement.onlostpointercapture
onmousedown
É acionado quando o usuário clica no objeto com um botão do mouse.
onmousedown: null | (this: GlobalEventHandlers, ev: MouseEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: MouseEvent) => any
herdado de HTMLElement.onmousedown
onmouseenter
onmouseenter: null | (this: GlobalEventHandlers, ev: MouseEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: MouseEvent) => any
herdado de HTMLElement.onmouseenter
onmouseleave
onmouseleave: null | (this: GlobalEventHandlers, ev: MouseEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: MouseEvent) => any
herdado de HTMLElement.onmouseleave
onmousemove
É acionado quando o usuário move o mouse sobre o objeto.
onmousemove: null | (this: GlobalEventHandlers, ev: MouseEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: MouseEvent) => any
herdado de HTMLElement.onmousemove
onmouseout
É acionado quando o usuário move o ponteiro do mouse para fora dos limites do objeto.
onmouseout: null | (this: GlobalEventHandlers, ev: MouseEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: MouseEvent) => any
herdado de HTMLElement.onmouseout
onmouseover
É acionado quando o usuário move o ponteiro do mouse para o objeto.
onmouseover: null | (this: GlobalEventHandlers, ev: MouseEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: MouseEvent) => any
herdado de HTMLElement.onmouseover
onmouseup
É acionado quando o usuário libera um botão do mouse enquanto o mouse está sobre o objeto.
onmouseup: null | (this: GlobalEventHandlers, ev: MouseEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: MouseEvent) => any
herdado de HTMLElement.onmouseup
onpaste
onpaste: null | (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any
Valor de Propriedade
null | (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any
herdado de HTMLElement.onpaste
onpause
Ocorre quando a reprodução é pausada.
onpause: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.onpause
onplay
Ocorre quando o método de reprodução é solicitado.
onplay: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.onplay
onplaying
Ocorre quando o áudio ou vídeo começou a ser reproduzido.
onplaying: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.onplaying
onpointercancel
onpointercancel: null | (this: GlobalEventHandlers, ev: PointerEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: PointerEvent) => any
herdado de HTMLElement.onpointercancel
onpointerdown
onpointerdown: null | (this: GlobalEventHandlers, ev: PointerEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: PointerEvent) => any
herdado de HTMLElement.onpointerdown
onpointerenter
onpointerenter: null | (this: GlobalEventHandlers, ev: PointerEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: PointerEvent) => any
herdado de HTMLElement.onpointerenter
onpointerleave
onpointerleave: null | (this: GlobalEventHandlers, ev: PointerEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: PointerEvent) => any
herdado de HTMLElement.onpointerleave
onpointermove
onpointermove: null | (this: GlobalEventHandlers, ev: PointerEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: PointerEvent) => any
herdado de HTMLElement.onpointermove
onpointerout
onpointerout: null | (this: GlobalEventHandlers, ev: PointerEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: PointerEvent) => any
herdado de HTMLElement.onpointerout
onpointerover
onpointerover: null | (this: GlobalEventHandlers, ev: PointerEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: PointerEvent) => any
herdado de HTMLElement.onpointerover
onpointerup
onpointerup: null | (this: GlobalEventHandlers, ev: PointerEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: PointerEvent) => any
herdado de HTMLElement.onpointerup
onprogress
Ocorre para indicar o progresso durante o download de dados de mídia.
onprogress: null | (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any
herdado de HTMLElement.onprogress
onratechange
Ocorre quando a taxa de reprodução é aumentada ou diminuída.
onratechange: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.onratechange
onreset
É acionado quando o usuário redefine um formulário.
onreset: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.onreset
onresize
onresize: null | (this: GlobalEventHandlers, ev: UIEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: UIEvent) => any
herdado de HTMLElement.onresize
onscroll
É acionado quando o usuário reposiciona a caixa de rolagem na barra de rolagem do objeto.
onscroll: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.onscroll
onsecuritypolicyviolation
onsecuritypolicyviolation: null | (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any
herdado de HTMLElement.onsecuritypolicyviolation
onseeked
Ocorre quando a operação de busca termina.
onseeked: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.onseeked
onseeking
Ocorre quando a posição de reprodução atual é movida.
onseeking: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.onseeking
onselect
É acionado quando a seleção atual é alterada.
onselect: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.onselect
onselectionchange
onselectionchange: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.onselectionchange
onselectstart
onselectstart: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.onselectstart
onslotchange
onslotchange: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.onslotchange
onstalled
Ocorre quando o download foi interrompido.
onstalled: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.onstalled
onsubmit
onsubmit: null | (this: GlobalEventHandlers, ev: SubmitEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: SubmitEvent) => any
herdado de HTMLElement.onsubmit
onsuspend
Ocorre se a operação de carga tiver sido intencionalmente interrompida.
onsuspend: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.onsuspend
ontimeupdate
Ocorre para indicar a posição de reprodução atual.
ontimeupdate: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.ontimeupdate
ontoggle
ontoggle: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.ontoggle
ontouchcancel
ontouchcancel?: null | (this: GlobalEventHandlers, ev: TouchEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: TouchEvent) => any
herdado de HTMLElement.ontouchcancel
ontouchend
ontouchend?: null | (this: GlobalEventHandlers, ev: TouchEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: TouchEvent) => any
herdado de HTMLElement.ontouchend
ontouchmove
ontouchmove?: null | (this: GlobalEventHandlers, ev: TouchEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: TouchEvent) => any
herdado de HTMLElement.ontouchmove
ontouchstart
ontouchstart?: null | (this: GlobalEventHandlers, ev: TouchEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: TouchEvent) => any
herdado de HTMLElement.ontouchstart
ontransitioncancel
ontransitioncancel: null | (this: GlobalEventHandlers, ev: TransitionEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: TransitionEvent) => any
herdado de HTMLElement.ontransitioncancel
ontransitionend
ontransitionend: null | (this: GlobalEventHandlers, ev: TransitionEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: TransitionEvent) => any
herdado de HTMLElement.ontransitionend
ontransitionrun
ontransitionrun: null | (this: GlobalEventHandlers, ev: TransitionEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: TransitionEvent) => any
herdado de HTMLElement.ontransitionrun
ontransitionstart
ontransitionstart: null | (this: GlobalEventHandlers, ev: TransitionEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: TransitionEvent) => any
herdado de HTMLElement.ontransitionstart
onvolumechange
Ocorre quando o volume é alterado ou a reprodução é silenciada ou desativada.
onvolumechange: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.onvolumechange
onwaiting
Ocorre quando a reprodução para porque o próximo quadro de um recurso de vídeo não está disponível.
onwaiting: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.onwaiting
onwebkitanimationend
Aviso
Esta API foi preterida.
This is a legacy alias of onanimationend.
onwebkitanimationend: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.onwebkitanimationend
onwebkitanimationiteration
Aviso
Esta API foi preterida.
This is a legacy alias of onanimationiteration.
onwebkitanimationiteration: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.onwebkitanimationiteration
onwebkitanimationstart
Aviso
Esta API foi preterida.
This is a legacy alias of onanimationstart.
onwebkitanimationstart: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.onwebkitanimationstart
onwebkittransitionend
Aviso
Esta API foi preterida.
This is a legacy alias of ontransitionend.
onwebkittransitionend: null | (this: GlobalEventHandlers, ev: Event) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: Event) => any
herdado de HTMLElement.onwebkittransitionend
onwheel
onwheel: null | (this: GlobalEventHandlers, ev: WheelEvent) => any
Valor de Propriedade
null | (this: GlobalEventHandlers, ev: WheelEvent) => any
herdado de HTMLElement.onwheel
outerHTML
outerHTML: string
Valor de Propriedade
string
herdado de HTMLElement.outerHTML
outerText
outerText: string
Valor de Propriedade
string
herdado de HTMLElement.outerText
ownerDocument
ownerDocument: Document
Valor de Propriedade
Document
herdado de HTMLElement.ownerDocument
parentElement
Retorna o elemento pai.
parentElement: null | HTMLElement
Valor de Propriedade
null | HTMLElement
herdado de HTMLElement.parentElement
parentNode
Devolve o pai.
parentNode: null | ParentNode
Valor de Propriedade
null | ParentNode
herdado de HTMLElement.parentNode
part
part: DOMTokenList
Valor de Propriedade
DOMTokenList
herdado de HTMLElement.part
prefix
Retorna o prefixo do namespace.
prefix: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.prefix
previousElementSibling
Retorna o primeiro irmão anterior que é um elemento e null caso contrário.
previousElementSibling: null | Element
Valor de Propriedade
null | Element
herdado de HTMLElement.previousElementSibling
previousSibling
Devolve o irmão anterior.
previousSibling: null | ChildNode
Valor de Propriedade
null | ChildNode
herdado de HTMLElement.previousSibling
PROCESSING_INSTRUCTION_NODE
é um nó ProcessingInstruction.
PROCESSING_INSTRUCTION_NODE: number
Valor de Propriedade
number
herdado de HTMLElement.PROCESSING_INSTRUCTION_NODE
role
role: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.role
scrollHeight
scrollHeight: number
Valor de Propriedade
number
herdado de HTMLElement.scrollHeight
scrollLeft
scrollLeft: number
Valor de Propriedade
number
herdado de HTMLElement.scrollLeft
scrollTop
scrollTop: number
Valor de Propriedade
number
herdado de HTMLElement.scrollTop
scrollWidth
scrollWidth: number
Valor de Propriedade
number
herdado de HTMLElement.scrollWidth
shadowRoot
Retorna a raiz de sombra do elemento, se houver, e se o modo da raiz de sombra for "aberto", e nulo caso contrário.
shadowRoot: null | ShadowRoot
Valor de Propriedade
null | ShadowRoot
herdado de HTMLElement.shadowRoot
slot
Retorna o valor do atributo de conteúdo do slot do elemento. Pode ser configurado para alterá-lo.
slot: string
Valor de Propriedade
string
herdado de HTMLElement.slot
spellcheck
spellcheck: boolean
Valor de Propriedade
boolean
herdado de HTMLElement.spellcheck
style
style: CSSStyleDeclaration
Valor de Propriedade
CSSStyleDeclaration
herdado de HTMLElement.style
tabIndex
tabIndex: number
Valor de Propriedade
number
herdado de HTMLElement.tabIndex
tagName
Retorna o nome qualificado com caixa alta HTML.
tagName: string
Valor de Propriedade
string
herdado de HTMLElement.tagName
textContent
textContent: null | string
Valor de Propriedade
null | string
herdado de HTMLElement.textContent
TEXT_NODE
é um nó de texto.
TEXT_NODE: number
Valor de Propriedade
number
herdada de HTMLElement.TEXT_NODE
title
title: string
Valor de Propriedade
string
herdado de HTMLElement.title
translate
translate: boolean
Valor de Propriedade
boolean
herdado de HTMLElement.translate
Detalhes de Método
addEventListener(string, EventListenerOrEventListenerObject, boolean | AddEventListenerOptions)
function addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions)
Parâmetros
- type
-
string
- listener
-
EventListenerOrEventListenerObject
- options
-
boolean | AddEventListenerOptions
addEventListener<K>(K, (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, boolean | AddEventListenerOptions)
function addEventListener<K>(type: K, listener: (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions)
Parâmetros
- type
-
K
- listener
-
(this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any
- options
-
boolean | AddEventListenerOptions
getSVGDocument()
function getSVGDocument(): null | Document
Devoluções
null | Document
removeEventListener(string, EventListenerOrEventListenerObject, boolean | EventListenerOptions)
function removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions)
Parâmetros
- type
-
string
- listener
-
EventListenerOrEventListenerObject
- options
-
boolean | EventListenerOptions
removeEventListener<K>(K, (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, boolean | EventListenerOptions)
function removeEventListener<K>(type: K, listener: (this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions)
Parâmetros
- type
-
K
- listener
-
(this: HTMLIFrameElement, ev: HTMLElementEventMap[K]) => any
- options
-
boolean | EventListenerOptions
Detalhes do Método Herdado
after((string | Node)[])
Insere nós logo após o nó, substituindo cadeias de caracteres em nós por nós de texto equivalentes.
Lança um "HierarchyRequestError" DOMException 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(null | Keyframe[] | PropertyIndexedKeyframes, number | KeyframeAnimationOptions)
function animate(keyframes: null | Keyframe[] | PropertyIndexedKeyframes, options?: number | KeyframeAnimationOptions): Animation
Parâmetros
- keyframes
-
null | Keyframe[] | PropertyIndexedKeyframes
- options
-
number | KeyframeAnimationOptions
Devoluções
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.
Lança um "HierarchyRequestError" DOMException 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)
function appendChild<T>(node: T): T
Parâmetros
- node
-
T
Devoluções
T
herdado de HTMLElement.appendChild
attachInternals()
function attachInternals(): ElementInternals
Devoluções
ElementInternals
herdado de HTMLElement.attachInternals
attachShadow(ShadowRootInit)
Cria uma raiz de sombra para o elemento e a retorna.
function attachShadow(init: ShadowRootInit): ShadowRoot
Parâmetros
- init
-
ShadowRootInit
Devoluções
ShadowRoot
herdado de HTMLElement.attachShadow
before((string | Node)[])
Insere nós imediatamente antes do nó, substituindo cadeias de caracteres em nós por nós de texto equivalentes.
Lança um "HierarchyRequestError" DOMException 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()
function blur()
herdado de HTMLElement.blur
click()
function click()
herdado de HTMLElement.click
cloneNode(boolean)
Retorna uma cópia do nó. Se deep for true, a cópia também inclui os descendentes do nó.
function cloneNode(deep?: boolean): Node
Parâmetros
- deep
-
boolean
Devoluções
Node
herdado de HTMLElement.cloneNode
closest<E>(string)
function closest<E>(selectors: string): null | E
Parâmetros
- selectors
-
string
Devoluções
null | E
herdado de HTMLElement.closest
closest<K>(K)
Retorna o primeiro ancestral inclusivo (começando no elemento) que corresponde aos seletores e null caso contrário.
function closest<K>(selector: K): null | HTMLElementTagNameMap[K]
Parâmetros
- selector
-
K
Devoluções
null | HTMLElementTagNameMap[K]
herdado de HTMLElement.closest
closest<K>(K)
function closest<K>(selector: K): null | SVGElementTagNameMap[K]
Parâmetros
- selector
-
K
Devoluções
null | SVGElementTagNameMap[K]
herdado de HTMLElement.closest
compareDocumentPosition(Node)
Retorna uma máscara de bits indicando a posição de outro em relação ao nó.
function compareDocumentPosition(other: Node): number
Parâmetros
- other
-
Node
Devoluções
number
herdado de HTMLElement.compareDocumentPosition
contains(null | Node)
Retorna true se other for um descendente inclusivo do nó e false caso contrário.
function contains(other: null | Node): boolean
Parâmetros
- other
-
null | Node
Devoluções
boolean
herdado de HTMLElement.contains
dispatchEvent(Event)
Despacha um evento de evento sintético para o destino e retorna true se o valor do atributo cancelável de qualquer evento for false ou se seu método preventDefault() não tiver sido invocado, e false caso contrário.
function dispatchEvent(event: Event): boolean
Parâmetros
- event
-
Event
Devoluções
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
Devoluções
Animation[]
herdado de HTMLElement.getAnimations
getAttribute(string)
Retorna o primeiro atributo do elemento cujo nome qualificado é qualifiedName e null se não houver esse atributo de outra forma.
function getAttribute(qualifiedName: string): null | string
Parâmetros
- qualifiedName
-
string
Devoluções
null | string
herdado de HTMLElement.getAttribute
getAttributeNames()
Retorna os nomes qualificados de todos os atributos do elemento. Pode conter duplicatas.
function getAttributeNames(): string[]
Devoluções
string[]
herdado de HTMLElement.getAttributeNames
getAttributeNode(string)
function getAttributeNode(qualifiedName: string): null | Attr
Parâmetros
- qualifiedName
-
string
Devoluções
null | Attr
herdado de HTMLElement.getAttributeNode
getAttributeNodeNS(null | string, string)
function getAttributeNodeNS(namespace: null | string, localName: string): null | Attr
Parâmetros
- namespace
-
null | string
- localName
-
string
Devoluções
null | Attr
herdado de HTMLElement.getAttributeNodeNS
getAttributeNS(null | string, string)
Retorna o atributo do elemento cujo namespace é namespace e o nome local é localName, e null se não houver esse atributo de outra forma.
function getAttributeNS(namespace: null | string, localName: string): null | string
Parâmetros
- namespace
-
null | string
- localName
-
string
Devoluções
null | string
herdado de HTMLElement.getAttributeNS
getBoundingClientRect()
function getBoundingClientRect(): DOMRect
Devoluções
DOMRect
herdado de HTMLElement.getBoundingClientRect
getClientRects()
function getClientRects(): DOMRectList
Devoluções
DOMRectList
herdado de HTMLElement.getClientRects
getElementsByClassName(string)
Retorna um HTMLCollection dos elementos no objeto no qual o método foi invocado (um documento ou um elemento) que têm todas as classes dadas por classNames. O argumento classNames é interpretado como uma lista de classes separada por espaços.
function getElementsByClassName(classNames: string): HTMLCollectionOf<Element>
Parâmetros
- classNames
-
string
Devoluções
HTMLCollectionOf<Element>
herdado de HTMLElement.getElementsByClassName
getElementsByTagName(string)
function getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>
Parâmetros
- qualifiedName
-
string
Devoluções
HTMLCollectionOf<Element>
herdado de HTMLElement.getElementsByTagName
getElementsByTagName<K>(K)
function getElementsByTagName<K>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>
Parâmetros
- qualifiedName
-
K
Devoluções
HTMLCollectionOf<HTMLElementTagNameMap[K]>
herdado de HTMLElement.getElementsByTagName
getElementsByTagName<K>(K)
function getElementsByTagName<K>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>
Parâmetros
- qualifiedName
-
K
Devoluções
HTMLCollectionOf<SVGElementTagNameMap[K]>
herdado de HTMLElement.getElementsByTagName
getElementsByTagNameNS("http://www.w3.org/1999/xhtml", string)
function getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>
Parâmetros
- namespaceURI
-
"http://www.w3.org/1999/xhtml"
- localName
-
string
Devoluções
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
Devoluções
HTMLCollectionOf<SVGElement>
herdado de HTMLElement.getElementsByTagNameNS
getElementsByTagNameNS(null | string, string)
function getElementsByTagNameNS(namespace: null | string, localName: string): HTMLCollectionOf<Element>
Parâmetros
- namespace
-
null | string
- localName
-
string
Devoluções
HTMLCollectionOf<Element>
herdado de HTMLElement.getElementsByTagNameNS
getRootNode(GetRootNodeOptions)
Retorna a raiz do nó.
function getRootNode(options?: GetRootNodeOptions): Node
Parâmetros
- options
-
GetRootNodeOptions
Devoluções
Node
herdado de HTMLElement.getRootNode
hasAttribute(string)
Retorna true se o elemento tiver um atributo cujo nome qualificado é qualifiedName e false caso contrário.
function hasAttribute(qualifiedName: string): boolean
Parâmetros
- qualifiedName
-
string
Devoluções
boolean
herdado de HTMLElement.hasAttribute
hasAttributeNS(null | string, string)
Retorna true se o elemento tiver um atributo cujo namespace é namespace e o nome local é localName.
function hasAttributeNS(namespace: null | string, localName: string): boolean
Parâmetros
- namespace
-
null | string
- localName
-
string
Devoluções
boolean
herdado de HTMLElement.hasAttributeNS
hasAttributes()
Retorna true se o elemento tiver atributos, e false caso contrário.
function hasAttributes(): boolean
Devoluções
boolean
herdado de HTMLElement.hasAttributes
hasChildNodes()
Retorna se o nó tem filhos.
function hasChildNodes(): boolean
Devoluções
boolean
herdado de HTMLElement.hasChildNodes
hasPointerCapture(number)
function hasPointerCapture(pointerId: number): boolean
Parâmetros
- pointerId
-
number
Devoluções
boolean
herdado de HTMLElement.hasPointerCapture
insertAdjacentElement(InsertPosition, Element)
function insertAdjacentElement(where: InsertPosition, element: Element): null | Element
Parâmetros
- where
-
InsertPosition
- element
-
Element
Devoluções
null | Element
herdado de HTMLElement.insertAdjacentElement
insertAdjacentHTML(InsertPosition, string)
function insertAdjacentHTML(position: InsertPosition, text: string)
Parâmetros
- position
-
InsertPosition
- text
-
string
herdado de HTMLElement.insertAdjacentHTML
insertAdjacentText(InsertPosition, string)
function insertAdjacentText(where: InsertPosition, data: string)
Parâmetros
- where
-
InsertPosition
- data
-
string
herdado de HTMLElement.insertAdjacentText
insertBefore<T>(T, null | Node)
function insertBefore<T>(node: T, child: null | Node): T
Parâmetros
- node
-
T
- child
-
null | Node
Devoluções
T
herdado de HTMLElement.insertBefore
isDefaultNamespace(null | string)
function isDefaultNamespace(namespace: null | string): boolean
Parâmetros
- namespace
-
null | string
Devoluções
boolean
herdado de HTMLElement.isDefaultNamespace
isEqualNode(null | Node)
Retorna se node e otherNode têm as mesmas propriedades.
function isEqualNode(otherNode: null | Node): boolean
Parâmetros
- otherNode
-
null | Node
Devoluções
boolean
herdado de HTMLElement.isEqualNode
isSameNode(null | Node)
function isSameNode(otherNode: null | Node): boolean
Parâmetros
- otherNode
-
null | Node
Devoluções
boolean
herdado de HTMLElement.isSameNode
lookupNamespaceURI(null | string)
function lookupNamespaceURI(prefix: null | string): null | string
Parâmetros
- prefix
-
null | string
Devoluções
null | string
herdado de HTMLElement.lookupNamespaceURI
lookupPrefix(null | string)
function lookupPrefix(namespace: null | string): null | string
Parâmetros
- namespace
-
null | string
Devoluções
null | string
herdado de HTMLElement.lookupPrefix
matches(string)
Retorna true se os seletores correspondentes à raiz do elemento produzirem o elemento e false caso contrário.
function matches(selectors: string): boolean
Parâmetros
- selectors
-
string
Devoluções
boolean
herdado de HTMLElement.matches
normalize()
Remove nós de texto exclusivos vazios e concatena os dados dos nós de texto exclusivos contíguos restantes no primeiro de seus nós.
function normalize()
herdado de HTMLElement.normalize
prepend((string | Node)[])
Insere nós antes do primeiro filho do nó, enquanto substitui cadeias de caracteres em nós por nós de texto equivalentes.
Lança um "HierarchyRequestError" DOMException 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): null | E
Parâmetros
- selectors
-
string
Devoluções
null | E
herdado de HTMLElement.querySelector
querySelector<K>(K)
Retorna o primeiro elemento que é um descendente do nó que corresponde aos seletores.
function querySelector<K>(selectors: K): null | HTMLElementTagNameMap[K]
Parâmetros
- selectors
-
K
Devoluções
null | HTMLElementTagNameMap[K]
herdado de HTMLElement.querySelector
querySelector<K>(K)
function querySelector<K>(selectors: K): null | SVGElementTagNameMap[K]
Parâmetros
- selectors
-
K
Devoluções
null | SVGElementTagNameMap[K]
herdado de HTMLElement.querySelector
querySelectorAll<E>(string)
function querySelectorAll<E>(selectors: string): NodeListOf<E>
Parâmetros
- selectors
-
string
Devoluções
NodeListOf<E>
herdado de HTMLElement.querySelectorAll
querySelectorAll<K>(K)
Retorna todos os descendentes de elementos do nó que correspondem aos seletores.
function querySelectorAll<K>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>
Parâmetros
- selectors
-
K
Devoluções
NodeListOf<HTMLElementTagNameMap[K]>
herdado de HTMLElement.querySelectorAll
querySelectorAll<K>(K)
function querySelectorAll<K>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>
Parâmetros
- selectors
-
K
Devoluções
NodeListOf<SVGElementTagNameMap[K]>
herdado de HTMLElement.querySelectorAll
releasePointerCapture(number)
function releasePointerCapture(pointerId: number)
Parâmetros
- pointerId
-
number
herdado de HTMLElement.releasePointerCapture
remove()
Remove o nó.
function remove()
herdado de HTMLElement.remove
removeAttribute(string)
Remove o primeiro atributo do elemento cujo nome qualificado é qualifiedName.
function removeAttribute(qualifiedName: string)
Parâmetros
- qualifiedName
-
string
herdado de HTMLElement.removeAttribute
removeAttributeNode(Attr)
function removeAttributeNode(attr: Attr): Attr
Parâmetros
- attr
-
Attr
Devoluções
Attr
herdado de HTMLElement.removeAttributeNode
removeAttributeNS(null | string, string)
Remove o atributo do elemento cujo namespace é namespace e o nome local é localName.
function removeAttributeNS(namespace: null | string, localName: string)
Parâmetros
- namespace
-
null | string
- localName
-
string
herdado de HTMLElement.removeAttributeNS
removeChild<T>(T)
function removeChild<T>(child: T): T
Parâmetros
- child
-
T
Devoluções
T
herdado de HTMLElement.removeChild
replaceChild<T>(Node, T)
function replaceChild<T>(node: Node, child: T): T
Parâmetros
- node
-
Node
- child
-
T
Devoluções
T
herdado de HTMLElement.replaceChild
replaceChildren((string | Node)[])
Substitua todos os filhos do nó por nós, enquanto substitui cadeias de caracteres em nós por nós de texto equivalentes.
Lança um "HierarchyRequestError" DOMException 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 nó por nós, substituindo cadeias de caracteres em nós por nós de texto equivalentes.
Lança um "HierarchyRequestError" DOMException 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)
Exibe o elemento em tela cheia e resolve a promessa quando terminar.
Quando fornecido, o membro navigationUI das opções indica se mostrar a interface do usuário de navegação em tela cheia é preferível ou não. Se definido como "mostrar", a simplicidade de navegação é preferível ao espaço na tela e, se definido como "ocultar", é preferível mais espaço na tela. Os agentes de usuário são sempre livres para honrar a preferência do usuário sobre a do aplicativo. O valor padrão "auto" indica nenhuma preferência de aplicativo.
function requestFullscreen(options?: FullscreenOptions): Promise<void>
Parâmetros
- options
-
FullscreenOptions
Devoluções
Promise<void>
herdado de HTMLElement.requestFullscreen
requestPointerLock()
function requestPointerLock()
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)
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)
function scrollBy(options?: ScrollToOptions)
Parâmetros
- options
-
ScrollToOptions
herdado de HTMLElement.scrollBy
scrollIntoView(boolean | ScrollIntoViewOptions)
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)
function scrollTo(options?: ScrollToOptions)
Parâmetros
- options
-
ScrollToOptions
herdado de HTMLElement.scrollTo
setAttribute(string, string)
Define o valor do primeiro atributo do elemento cujo nome qualificado é qualifiedName como value.
function setAttribute(qualifiedName: string, value: string)
Parâmetros
- qualifiedName
-
string
- value
-
string
herdado de HTMLElement.setAttribute
setAttributeNode(Attr)
function setAttributeNode(attr: Attr): null | Attr
Parâmetros
- attr
-
Attr
Devoluções
null | Attr
herdado de HTMLElement.setAttributeNode
setAttributeNodeNS(Attr)
function setAttributeNodeNS(attr: Attr): null | Attr
Parâmetros
- attr
-
Attr
Devoluções
null | Attr
herdado de HTMLElement.setAttributeNodeNS
setAttributeNS(null | string, string, string)
Define o valor do atributo do elemento cujo namespace é namespace e local name é localName como value.
function setAttributeNS(namespace: null | string, qualifiedName: string, value: string)
Parâmetros
- namespace
-
null | string
- qualifiedName
-
string
- value
-
string
herdado de HTMLElement.setAttributeNS
setPointerCapture(number)
function setPointerCapture(pointerId: number)
Parâmetros
- pointerId
-
number
herdado de HTMLElement.setPointerCapture
toggleAttribute(string, boolean)
Se a força não for dada, "alterna" qualifiedName, removendo-o se estiver presente e adicionando-o se não estiver presente. Se force for true, adiciona qualifiedName. Se force for false, remove qualifiedName.
Retorna true se qualifiedName estiver presente agora e false caso contrário.
function toggleAttribute(qualifiedName: string, force?: boolean): boolean
Parâmetros
- qualifiedName
-
string
- force
-
boolean
Devoluções
boolean
herdado de HTMLElement.toggleAttribute
webkitMatchesSelector(string)
Aviso
Esta API foi preterida.
This is a legacy alias of matches.
function webkitMatchesSelector(selectors: string): boolean
Parâmetros
- selectors
-
string
Devoluções
boolean
herdado de HTMLElement.webkitMatchesSelector