@guillaumeferber/html-selector
v1.1.6
Published
html selector.js is a JavaScript-based custom <select> UI control. It's useful for tagging, contact lists, form selectors.
Downloads
1
Maintainers
Readme
html-selector
Install
You can get it on npm.
Usage
Standalone
JavaScript
Add the script tag before the closing <body>
tag
CSS/SCSS
- Add the link CSS tag in
<head>
- or you can import the Sass file to your Sass project
HTML Usage
Just add the js-select
class name to the select element you want to customize.
<select class="js-select">
<option>Select</option>
<option value="value_1">option #1</option>
<option value="value_2">option #2</option>
<option value="value_3">option #3</option>
</select>
License
MIT License © Guillaume Ferber