flect
v1.6.0
Published
The 2kb truly reactive components library
Downloads
22
Maintainers
Readme
The 2kb fuly reactive component library.
Consider to read the documentation.
define('input', function(datas, render){
render(/*html*/`
<label>
<p x-text="label">Name</p>
<input x-type="type" x-placeholder="placeholder">
</label>
`)
})
<x-input
type="number"
label="How old are you ?"
placeholder="Enter a number please">
</x-input>
flect.js
~ 4.5kb (minified)flect.js.gz
~ 2kb (minified + gzip)