0.0.1 • Published 7 months ago

be-dispatching v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

be-dispatching

Dispatch event from enhanced element with specified name.

NPM version How big is this package in your project? Playwright Tests

Example 1

<input be-dispatching='of bubbling, composed, cancelable, replacing event 402735ed-b9e8-4ef4-9e0d-3a6b385de863 on change.'>

Example 2

<input be-dispatching='of bubbling, composed, cancelable, replacing event 402735ed-b9e8-4ef4-9e0d-3a6b385de863.'>

Dispatches on input event by default.

Viewing Demos Locally

Any web server that can serve static files will do, but...

  1. Install git.
  2. Fork/clone this repo.
  3. Install node.js.
  4. Open command window to folder where you cloned this repo.
  5. npm install

  6. npm run serve

  7. Open http://localhost:3030/demo/ in a modern browser.

Running Tests

> npm run test

Using from ESM Module:

import 'be-dispatching/be-dispatching.js';

Using from CDN:

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