Skip to content

Latest commit

 

History

History
68 lines (51 loc) · 1.57 KB

README.md

File metadata and controls

68 lines (51 loc) · 1.57 KB

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>