diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:42:52 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:42:52 -0500 |
commit | 074785cea106179cb3305637055ab0a009ca74f2 (patch) | |
tree | e6ae371cccd642aa2b67f39752a2cdf1fd4eb040 /files/pt-br/web/api/htmlshadowelement | |
parent | da78a9e329e272dedb2400b79a3bdeebff387d47 (diff) | |
download | translated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.gz translated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.bz2 translated-content-074785cea106179cb3305637055ab0a009ca74f2.zip |
initial commit
Diffstat (limited to 'files/pt-br/web/api/htmlshadowelement')
-rw-r--r-- | files/pt-br/web/api/htmlshadowelement/index.html | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/files/pt-br/web/api/htmlshadowelement/index.html b/files/pt-br/web/api/htmlshadowelement/index.html new file mode 100644 index 0000000000..fe52a8caf5 --- /dev/null +++ b/files/pt-br/web/api/htmlshadowelement/index.html @@ -0,0 +1,67 @@ +--- +title: HTMLShadowElement +slug: Web/API/HTMLShadowElement +tags: + - API + - HTML DOM + - HTMLShadowElement + - Web/Api + - shadow dom +translation_of: Web/API/HTMLShadowElement +--- +<p>{{obsolete_header}}</p> + +<p>{{ APIRef("Web Components") }}</p> + +<p>A interface <code><strong>HTMLShadowElement</strong></code> representa um elemento HTML {{HTMLElement("shadow")}}, Ao qual é usado no <a href="/en-US/docs/Web/Web_Components/Shadow_DOM">Shadow DOM</a>.</p> + +<h2 id="Properties" name="Properties">Propriedades</h2> + +<p><em> Esta interface herda as propriedades do {{domxref("HTMLElement")}}.</em></p> + +<h2 id="Métodos">Métodos</h2> + +<p><em>Esta interface herda os métodos do {{domxref("HTMLElement")}}.</em></p> + +<dl> + <dt>{{domxref("HTMLShadowElement.getDistributedNodes()")}}</dt> + <dd>Retorna uma estática {{domxref("NodeList")}} do {{glossary("distributed nodes")}} associado com este elemento <shadow>.</dd> +</dl> + +<h2 id="Especificações">Especificações</h2> + +<table class="spec-table standard-table"> + <tbody> + <tr> + <th scope="col">Especificação</th> + <th scope="col">Status</th> + <th scope="col">Comentário</th> + </tr> + <tr> + <td>{{SpecName('Shadow DOM', '#the-shadow-element', 'shadow')}}</td> + <td>{{Spec2('Shadow DOM')}}</td> + <td> </td> + </tr> + </tbody> +</table> + +<h2 id="Browser_compatível">Browser compatível</h2> + +<div class="hidden"> +<p>The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a>and send us a pull request.</p> +</div> + +<p>{{Compat("api.HTMLShadowElement")}}</p> + +<p>Se Shadow DOM não é habilitado no Firefox, os elementos <shadow> se comportarão como {{domxref("HTMLUnknownElement")}}. Shadow DOM foi implementado primeiro no Firefox 28 e está por trás de uma preferência, <code>dom.webcomponents.enabled</code>, ao qual é desabilitado por padrão. [1]</p> + +<h2 id="Veja_também">Veja também</h2> + +<ul> + <li>O elemento HTML {{HTMLElement("shadow")}} , implementa esta interface.</li> + <li><a href="/en-US/docs/Web/Web_Components/Shadow_DOM">Shadow DOM</a></li> +</ul> + +<dl> + <dt> </dt> +</dl> |