3 ms·
The W3C editor's draft for custom elements clearly states that attributes are sequences of DOMString: https://w3c.github.io/webcomponents/spec/custom/#concept-c
by jakelazaroff 10y ago
The W3C editor's draft for custom elements clearly states that attributes are sequences of DOMString: https://w3c.github.io/webcomponents/spec/custom/#concept-custom-element-definition-observed-attributes https://w3c.github.io/webcomponents/spec/custom/#concept-cus...
- spankalee 10y agoSo? Properties are objects and children are nodes.
- dmitriid 10y agoSo, basically, "we push everything to JS and we have the curse of the empty body tag where everything is rendered with JS" turned into "we push everything to JS and we have the curse of the empty body tag where everything is rendered with JS ... but with WebComponents! So it's cool now!"