@damienmortini/element-viewport
v0.0.46
Published
<element-viewport> custom element.
Downloads
5
Maintainers
Readme
<damo-viewport>
Installation
npm install @damienmortini/element-viewport
Simple Usage
<script src="node_modules/@damienmortini/element-viewport/index.js"></script>
<damo-viewport></damo-viewport>
Usage with custom name
<script type="module">
import Element from '@damienmortini/element-viewport';
window.customElements.define('my-element-name', class extends Element { });
</script>
<my-element-name></my-element-name>