select

基于Tether构建的时尚选择元素。(Styleable select elements built on Tether. #hubspot-open-source)

Github stars Tracking Chart

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

Main metrics

Overview
Name With OwnerHubSpot/select
Primary LanguageJavaScript
Program languageCSS (Language Count: 2)
PlatformLinux, Mac, Windows
License:MIT License
所有者活动
Created At2013-12-12 19:22:56
Pushed At2018-10-10 02:11:18
Last Commit At2016-01-11 13:01:14
Release Count21
Last Release Namev1.1.1 (Posted on )
First Release Namev0.1.0 (Posted on )
用户参与
Stargazers Count1.2k
Watchers Count193
Fork Count116
Commits Count305
Has Issues Enabled
Issues Count42
Issue Open Count28
Pull Requests Count7
Pull Requests Open Count11
Pull Requests Close Count8
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private