aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/htmlcontentelement/index.html
blob: 2c08241a7b81695baf4dc16abcb295c3b237e836 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
title: HTMLContentElement
slug: Web/API/HTMLContentElement
translation_of: Web/API/HTMLContentElement
---
<p>{{ APIRef("Web Components") }}</p>

<p>{{Deprecated_header}}</p>

<p>The <code><strong>HTMLContentElement</strong></code> interface represents a {{HTMLElement("content")}} HTML Element, which is used in <a href="/en-US/docs/Web/Web_Components/Shadow_DOM">Shadow DOM</a></p>

<h2 id="Properties">Свойства</h2>

<p><em>This interface inherits the properties of {{domxref("HTMLElement")}}.</em></p>

<dl>
 <dt>{{domxref("HTMLContentElement.select")}}</dt>
 <dd>Is a {{domxref("DOMString")}} that reflects the {{ htmlattrxref("select", "content") }} HTML attribute. The value is a comma-separated list of CSS selectors that select the content to insert in place of the <code>&lt;content&gt;</code> element.</dd>
</dl>

<h2 id="Методы">Методы</h2>

<p><em>This interface inherits the methods of {{domxref("HTMLElement")}}.</em></p>

<dl>
 <dt>{{domxref("HTMLContentElement.getDistributedNodes()")}}</dt>
 <dd>Returns a static {{domxref("NodeList")}} of the {{glossary("distributed nodes")}} associated with this <code>&lt;content&gt;</code> element. </dd>
</dl>

<h2 id="Спецификации">Спецификации</h2>

<p>This feature is no longer defined by any standards.</p>

<h2 id="Поддержка_браузерами">Поддержка браузерами</h2>



<p>{{Compat("api.HTMLContentElement")}}</p>

<h2 id="Смотрите_также">Смотрите также</h2>

<ul>
 <li>The {{HTMLElement("content")}} HTML element, implementing this interface.</li>
 <li><a href="/en-US/docs/Web/Web_Components/Shadow_DOM">Shadow DOM</a></li>
</ul>

<dl>
 <dt> </dt>
</dl>