Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 732 Bytes

File metadata and controls

28 lines (23 loc) · 732 Bytes

SimpleSelect

SimpleSelect is a library which makes your select/multiselect elements beautiful, and fully customizable. It has zero dependencies, so it is quite tiny.

Instalation

Via NPM

npm install @schumskie/simpleselect

Via CDN

<script src="https://unpkg.com/@schumskie/simpleselect@latest/dist/simpleselect.js"></script>

Usage

// if you are using ES6
import SimpleSelect from "@schumskie/simpleselect";
// will apply on all select elements.
SimpleSelect.init("select"); 
// will apply on select with 'my-select' id.
SimpleSelect.init('#my-select"); 

Example

https://schumskie.github.io/simpleselect/