jahimluk / select

Styleable select elements built on Tether. #hubspot-open-source

Home Page:http://github.hubspot.com/select/docs/welcome

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Styleable select elements built on Tether. #hubspot-open-source

http://github.hubspot.com/select/docs/welcome

License:MIT License


Languages

Language:JavaScript 55.8%Language:CSS 44.2%