Skip to content

HubSpot/select

Repository files navigation

Select

GitHub version

Select.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.

Install

Dependencies

Installing via npm and bower will bring in the above dependencies as well.

npm

$ npm install tether-select

bower

$ bower install tether-select

Usage

let selectInstance = new Select({
  el: document.querySelector('select.select-target'),
  className: 'select-theme-default'
})

API Documentation

Demo

Contributing

We encourage contributions of all kinds. If you would like to contribute in some way, please review our guidelines for contributing.

License

Copyright © 2015 HubSpot - MIT License