/be-delible

Primary LanguageTypeScriptMIT LicenseMIT

be-delible

Make a DOM element delible.

Playwright Tests

Size of package, including custom element behavior framework (be-enhanced):

How big is this package in your project?

Size of new code in this package:

CDN

<script type=module>
    import 'https://esm.run/be-delible'
</script>

Use of attributes is not required (for example, during template instantiation, where use of attributes isn't optimal).

Running locally

  1. Do a git clone or a git fork of repository https://github.com/bahrus/be-delible
  2. Install node.js
  3. Run "npm install" from location of folder created in step 1.
  4. Run npm run serve. Open browser to http://localhost:3030/demo/

Using from ESM Module:

import 'be-committed/be-delible.js';

Using from CDN:

<script type=module crossorigin=anonymous>
    import 'https://esm.run/be-delible';
</script>