chosen README

The project's README from github.com/harvesthq/chosen. As one markdown file: README.md.

Deprecated

This version of Chosen is not currently under active development while we decide on its future direction.


Chosen

Chosen is a library for making long, unwieldy select boxes more user friendly.

For documentation, usage, and examples, see: http://harvesthq.github.io/chosen/

For downloads, see: https://github.com/harvesthq/chosen/releases/

Package managers

Chosen is available through Bower, npm, and Composer, however, the package names are not the same.

To install with Bower:

bower install chosen

To install with npm:

npm install chosen-js

To install with Composer:

composer require harvesthq/chosen

The compiled files for these packages are automatically generated and stored in a 2nd Chosen repository. No pull requests will be accepted to that repository.

Contributing to this project

We welcome all to participate in making Chosen the best software it can be. The repository is maintained by only a few people, but has accepted contributions from over 50 authors after reviewing hundreds of pull requests related to thousands of issues. You can help reduce the maintainers' workload (and increase your chance of having an accepted contribution to Chosen) by following the guidelines for contributing.

Chosen Credits

chosen (harvesthq/chosen)

Searching Database…

21.9K ·GitHub
这是什么?Chosen 是一个 JavaScript 库,用来让又长又难用的下拉选择框变得更友好。把它引入网页后,它会升级标准的 HTML select 元素。
它是一个完整的应用,还是只是嵌进页面里的一个组件?只是组件级别的库:编译好的文件通过包管理器获取,然后引入到你自己的页面里。不需要运行任何服务器或应用。
怎么把它加到我的项目里?通过 Bower、npm 或 Composer 安装——注意这三个包管理器里的包名并不相同。
用它是必须装 jQuery 吗?它围绕经典的 JS 技术栈构建:Chosen 支持 jQuery 1.7+ 和 Prototype 1.7+,你的项目里已经有哪一个就用哪一个。
这个仓库被标记为已弃用了,我还能用吗?它仍然可用,但在维护者决定 Chosen 未来的方向之前,这个版本不会再有积极的开发,仓库也被标记为不再维护。在新项目里依赖它之前要三思。
比起普通的 HTML 下拉框,为什么要用 Chosen?普通的长下拉框浏览起来很费劲,而 Chosen 会把它们重建成更友好、更好用的控件。README 本身没有列出功能清单——它让你去它的文档和示例页面查看详情。
Chosen 能配合 React 或 Vue 用吗?README 只声明支持 jQuery 1.7+ 和 Prototype 1.7+——对现代框架只字未提,而且目前开发已停滞,这一点估计也不会有变化。
它经过充分实战检验吗?是的。这个项目自 2011 年公开以来已有约 22k 颗星,README 提到,在审阅了与数千个 issue 相关的数百个 pull request 之后,已有超过 50 位作者为它贡献过代码。
Creator
harvesthq
Size
3 MB
Stars
21.9K
Age
15y
Commits · 90 Days