be-dispatching (๐Ÿ“ก)

June 21, 2026 ยท View on GitHub

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 Locally

Any web server that serves static files with server-side includes 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. git submodule add https://github.com/bahrus/types.git types

  6. git submodule update --init --recursive

  7. npm install

  8. npm run serve

  9. 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>