1.0.0 • Published 1 year ago
celect v1.0.0
Celect
Easy To Use Custom JavaScript Select
npm install celect
Or using CDN
<script src="https://unpkg.com/celect"></script>
Basic usage
const div = document.querySelector('#select');
new Select(div, {
options: [
{
id: 1,
name: 'Option 1',
},
{
id: 2,
name: 'Option 2',
},
{
id: 3,
name: 'Option 3',
},
],
placeholder: 'Search Something',
searchable: true,
});
Full docs : https://sysym-dev.github.io/celect