template-polyfill
2.0.0 • Public • Published template-polyfill
A polyfill for the HTML5 <template>
tag.
The code is from Brian Blakely's JSFiddle. Packaged up so that people can use it via npm.
Usage
npm install template-polyfill
var templatePolyfill = require('template-polyfill')
templatePolyfill()
You'll also need:
<script>
document.createElement('template');
</script>
template {
display: none !important;
}
/template-polyfill/
//
Package Sidebar
Install
Weekly Downloads