sataform
v1.0.4
Published
Gestion field form
Downloads
16
Readme
Sataform
Install
npm i sataform
Get started
// Simple select
sataselect({
elem:"#simpleSelect"
})
// Mutiple select
sataselect({
elem:"#multipleSelect"
})
<select
name="simpleSelect"
id="simpleSelect"
ss-placeholder="Sinple select"
>
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
<option value="4">Four</option>
</select>
<select
name="multipleSelect"
id="multipleSelect"
ss-placeholder="Multiple select"
multiple
>
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
<option value="4">Four</option>
</select>