We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

HTMLContentElement.getDistributedNodes()

Esta traducción está incompleta. Por favor, ayuda a traducir este artículo del inglés.

The HTMLContentElement.getDistributedNodes() method returns a static NodeList of the distributed nodes associated with this <content> element.

Syntax

var nodeList = object.getDistributedNodes()

Example

// Get the distributed nodes
var nodes = myContentObject.getDistributedNodes();

Specifications

Specification Status Comment
Shadow DOM
La definición de 'content' en esta especificación.
Working Draft  

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
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support 37 28.0 (28) [1] Sin soporte ? ?

[1] If Shadow DOM is not enabled in Firefox, <content> 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

Etiquetas y colaboradores del documento

Etiquetas: 
Colaboradores en esta página: dkocho4
Última actualización por: dkocho4,