HTMLContentElement
Invalid slug for templ/sidebar: conflicting/Web/API/HTMLSlotElement
Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.
A interface do HTMLContentElement
representa um <content>
Element HTML, ao qual é usado em Shadow DOM.
Propriedades
Esta interface herda as propriedades de HTMLElement
.
HTMLContentElement.select
-
é um
DOMString
que reflete oselect
attributo HTML . O valor é uma lista de vírgula separada dos seletores CSS que selecionam o conteúdo para inserir em lugar do elemento<content>
.
Méthodos
Esta interface herda os méthodos de HTMLElement
.
HTMLContentElement.getDistributedNodes()
-
Retorna um static
NodeList
do distributed nodes associado com este elemento<content>
.
Specificações
No specification found
No specification data found for undefined
.
Check for problems with this page or contribute a missing spec_url
to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.
Compatibilidade com navegadores
Veja também
- O elemento HTML
<content>
, implementa esta interface. - Shadow DOM