Obsoleto
Esta funcionalidad es obsoleta. Aunque puede aún funcionar en algunos navegadores, se desalienta su uso ya que puede ser removida en cualquier momento. Evite usarla.
The HTMLShadowElement
interface represents a <shadow>
HTML Element, which is used in Shadow DOM.
Properties
This interface inherits the properties of HTMLElement
.
Methods
This interface inherits the methods of HTMLElement
.
HTMLShadowElement.getDistributedNodes()
- Returns a static
NodeList
of the distributed nodes associated with this<shadow>
element.
Specifications
Specification | Status | Comment |
---|---|---|
Shadow DOM La definición de 'shadow' en esta especificación. |
Obsolete | Initial definition |
Browser compatibility
We're converting our compatibility data into a machine-readable JSON format.
This compatibility table still uses the old format,
because we haven't yet converted the data it contains.
Find out how you can help!
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | 35 | 28 (28)[1] | Sin soporte | 26 | Sin soporte |
getDistributedNodes() |
35 | Sin soporte | Sin soporte | 26 | Sin soporte |
Feature | Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | 37 | 28.0 (28)[1] | Sin soporte | ? | ? |
getDistributedNodes() |
37 | Sin soporte | Sin soporte | ? | ? |
[1] If Shadow DOM is not enabled in Firefox, <shadow> elements will behave like HTMLUnknownElement
. Shadow DOM was first implemented in Firefox 28 and is behind a preference, dom.webcomponents.enabled
, which is disabled by default.
See also
- The
<shadow>
HTML element, implementing this interface. - Shadow DOM