From 074785cea106179cb3305637055ab0a009ca74f2 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:52 -0500 Subject: initial commit --- files/pt-br/web/api/htmlcontentelement/index.html | 116 ++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 files/pt-br/web/api/htmlcontentelement/index.html (limited to 'files/pt-br/web/api/htmlcontentelement/index.html') diff --git a/files/pt-br/web/api/htmlcontentelement/index.html b/files/pt-br/web/api/htmlcontentelement/index.html new file mode 100644 index 0000000000..b3a23164a6 --- /dev/null +++ b/files/pt-br/web/api/htmlcontentelement/index.html @@ -0,0 +1,116 @@ +--- +title: HTMLContentElement +slug: Web/API/HTMLContentElement +tags: + - ContentElement + - Deprecated_header + - HTMLContentElement + - HTMLElement + - Web Components + - elemento depreciado + - shadow dom +translation_of: Web/API/HTMLContentElement +--- +

{{ APIRef("Web Components") }}

+ +

{{Deprecated_header}}

+ +

A interface do HTMLContentElement representa um {{HTMLElement("content")}} Element HTML, ao qual é usado em Shadow DOM

+ +

Propriedades

+ +

Esta interface herda as propriedades de {{domxref("HTMLElement")}}.

+ +
+
{{domxref("HTMLContentElement.select")}}
+
é um {{domxref("DOMString")}} que reflete o {{ htmlattrxref("select", "content") }} 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 {{domxref("HTMLElement")}}.

+ +
+
{{domxref("HTMLContentElement.getDistributedNodes()")}}
+
Returna um static {{domxref("NodeList")}} do {{glossary("distributed nodes")}} associado com este elemento <content>
+
+ +

Specificações

+ + + + + + + + + + + + + + +
SpecificaçõesStatusCommentários
{{SpecName('Shadow DOM', '#the-content-element', 'content')}}{{Spec2('Shadow DOM')}} 
+ +

Compatibilidade do browser

+ +

{{CompatibilityTable}}

+ +
+ + + + + + + + + + + + + + + + + + + +
ComponentesChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Suporte Básico35{{CompatGeckoDesktop("28")}} [1]{{CompatNo}}26{{CompatNo}}
+
+ +
+ + + + + + + + + + + + + + + + + + + +
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support37{{CompatGeckoMobile("28")}} [1]{{CompatNo}}{{CompatUnknown}}{{CompatUnknown}}
+
+ +

[1] Se Shadow DOM não é habilitado no Firefox, <content> elementos vai se comportar como {{domxref("HTMLUnknownElement")}}. Shadow DOM foi a primeira implementação do Firefox 28 e está atrásde uma preferência , dom.webcomponents.enabled, qual é desabilitado por padrão.

+ +

Veja também

+ + + +
+
 
+
-- cgit v1.2.3-54-g00ecf