be-delible
v0.0.18
Published
Make a DOM element delible
Downloads
190
Maintainers
Readme
be-delible (⌫)
Make a DOM element delible.
Markup:
<label be-delible>
<input type="checkbox" name="">
<span>Check me out</span>
</label>
or
<label ⌫>
<input type="checkbox" name="">
<span>Check me out</span>
</label>
Viewing this element locally
Any web server than can serve static files will do, but...
- Install git.
- Fork/clone this repo.
- Install node.js
- Install Python 3 or later
- Open command window to folder where you cloned this repo.
npm install
npm run serve
- Open http://localhost:8000/demo/ in a modern browser.
Running Tests
> npm run test
Using from CDN:
<script type=module crossorigin=anonymous>
import 'https://esm.run/be-delible';
</script>
Referencing via ESM Modules:
import 'be-delible/be-delible.js';