Slim Select 2
slimselectjs.com
Advanced select dropdown
For documentation and examples on all features see: http://slimselectjs.com
Features
- No Dependencies
- JS: 29kb - 5kb gzip
- CSS: 7kb - 1kb gzip
- Single Select
- Multi Select
- User Addable Options
- Html Options
- Settable Data
- Callback Events
- Placeholders
- Search
- Disable Options
- Light CSS
- Light Color Scheme
- Style and Class Inheritance
- Clean Animations
- Performant
- Typescript
Installation
npm install slim-select
or
<script src="https://cdnjs.cloudflare.com/ajax/libs/slim-select/<version>/slimselect.js"></script>
<link
rel="stylesheet"
type="text/css"
href="https://cdnjs.cloudflare.com/ajax/libs/slim-select/<version>/slimselect.css"
/>
Usage
import SlimSelect from 'slim-select'
new SlimSelect({
select: '#slim-select',
})