be-dispatching (๐ก)
June 21, 2026 ยท View on GitHub
Dispatch event from enhanced element with specified name.
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 Locally
Any web server that serves static files with server-side includes will do but...
- Install git
- Fork/clone this repo
- Install node.js
- Open command window to folder where you cloned this repo
-
git submodule add https://github.com/bahrus/types.git types
-
git submodule update --init --recursive
-
npm install
-
npm run serve
- Open http://localhost:8000/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>
