Styleable select elements built on Tether. #hubspot-open-source
See the codeSelect.js is a Javascript and CSS library for creating styleable select elements. It aims to reproduce the behavior of native controls as much as is possible, while allowing for complete styling with CSS.
Dependencies
Installing via npm and bower will bring in the above dependencies as well.
npm
$ npm install tether-select
bower
$ bower install tether-select
let selectInstance = new Select({
el: document.querySelector('select.select-target'),
className: 'select-theme-default'
})
We encourage contributions of all kinds. If you would like to contribute in some way, please review our guidelines for contributing.
Copyright © 2015 HubSpot - MIT License
147 followers · starred Jul 2016
12 followers · starred Nov 2015
174 followers · starred Sep 2015
Styleable select elements built on Tether. #hubspot-open-source
See the codeSelect.js is a Javascript and CSS library for creating styleable select elements. It aims to reproduce the behavior of native controls as much as is possible, while allowing for complete styling with CSS.
Dependencies
Installing via npm and bower will bring in the above dependencies as well.
npm
$ npm install tether-select
bower
$ bower install tether-select
let selectInstance = new Select({
el: document.querySelector('select.select-target'),
className: 'select-theme-default'
})
We encourage contributions of all kinds. If you would like to contribute in some way, please review our guidelines for contributing.
Copyright © 2015 HubSpot - MIT License
147 followers · starred Jul 2016
12 followers · starred Nov 2015
174 followers · starred Sep 2015