Allow the user to customize input element during run time.
Markup:
<label be-typed><span>[Specify Name]</span></label>
[x]: Adds edit button inside label. [x]: Edit button opens dialog that allows user to select type of input (boolean, number, etc). [x]: Can also specify validation attributes [x]: Some attributes related to be-reformable can also optionally be edited. [x]: Dialog also supports selecting name of input element.
Any web server than can serve static files will do, but...
- Install git.
- Fork/clone this repo.
- Install node.
- Open command window to folder where you cloned this repo.
-
npm install
-
npm run serve
- Open http://localhost:3030/demo/dev in a modern browser.
> npm run test
<script type=module crossorigin=anonymous>
import 'https://esm.run/be-typed';
</script>
import 'be-lazy/be-typed.js';