Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/HubSpot/select
Styleable select elements built on Tether. #hubspot-open-source
https://github.com/HubSpot/select
Last synced: 15 days ago
JSON representation
Styleable select elements built on Tether. #hubspot-open-source
- Host: GitHub
- URL: https://github.com/HubSpot/select
- Owner: HubSpot
- License: mit
- Created: 2013-12-12T19:22:56.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-10-10T02:11:18.000Z (about 6 years ago)
- Last Synced: 2024-10-16T07:05:47.699Z (25 days ago)
- Language: JavaScript
- Homepage: http://github.hubspot.com/select/docs/welcome
- Size: 1.31 MB
- Stars: 1,198
- Watchers: 186
- Forks: 117
- Open Issues: 39
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
## Select
[![GitHub
version](https://badge.fury.io/gh/HubSpot%2Fselect.svg)](http://badge.fury.io/gh/HubSpot%2Fselect)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__
* __[Tether](https://github.com/HubSpot/tether)__
Installing via `npm` and `bower` will bring in the above dependencies as well.
__npm__
```sh
$ npm install tether-select
```__bower__
```sh
$ bower install tether-select
```## Usage
```javascript
let selectInstance = new Select({
el: document.querySelector('select.select-target'),
className: 'select-theme-default'
})
```[API Documentation](http://github.hubspot.com/select)
[Demo](http://github.hubspot.com/select/docs/welcome)
## Contributing
We encourage contributions of all kinds. If you would like to contribute in some way, please review our [guidelines for contributing](CONTRIBUTING.md).
## License
Copyright © 2015 HubSpot - [MIT License](LICENSE)