Skip to content

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

License

Notifications You must be signed in to change notification settings

bahrus/be-valued

Repository files navigation

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>

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published