4 ms·
According to the Web Component spec a custom element must contain a dash. Also the convention is to use lowercase. http://w3c.github.io/webcomponents/spec/custo
by benatkin 13y ago
According to the Web Component spec a custom element must contain a dash. Also the convention is to use lowercase. http://w3c.github.io/webcomponents/spec/custom/#concepts http://w3c.github.io/webcomponents/spec/custom/#concepts
- nostrademons 13y agoI know, but I wanted to make the correspondence between the examples as clear as possible, including using the same names. In practice it'd be something like <my-toolbar> and <my-app>. (Well, in practice it'd be something like <polymer-toolbar> and <companyfoo-app>, but hopefully people get the point.)