0.0.5 • Published 1 month ago

be-valued v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

be-valued

Reflect the value of the input to the value attribute on input event.

<form be-valued>
    <input>
</form>

Useful for styling, persistence of innerHTML.

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

Viewing Locally

Any web server that serves static files will do but...

  1. Install git.
  2. Fork/clone this repo.
  3. Install node.
  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.

Importing in ES Modules:

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

Using from CDN:

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