3 ms·
The template element looks very useful. Basic support in old browsers should be possible by simply setting it to display:none.
by hxn 11y ago
The template element looks very useful. Basic support in old browsers should be possible by simply setting it to display:none.
- Zikes 11y agoThere are some key features of template that hiding it would not accomplish, namely that the contents like scripts are guaranteed not to execute until they've been cloned/stamped. Fortunately there are already polyfills for that: http://webcomponents.org/ http://webcomponents.org/