jauhar54 03c91e0dba init | 2 年之前 | |
---|---|---|
.. | ||
.github | 2 年之前 | |
dist | 2 年之前 | |
docs | 2 年之前 | |
src | 2 年之前 | |
tests | 2 年之前 | |
.editorconfig | 2 年之前 | |
.gitignore | 2 年之前 | |
.jshintignore | 2 年之前 | |
.jshintrc | 2 年之前 | |
.travis.yml | 2 年之前 | |
CHANGELOG.md | 2 年之前 | |
Gruntfile.js | 2 年之前 | |
LICENSE.md | 2 年之前 | |
README.md | 2 年之前 | |
bower.json | 2 年之前 | |
component.json | 2 年之前 | |
composer.json | 2 年之前 | |
package.json | 2 年之前 |
Select2 is a jQuery-based replacement for select boxes. It supports searching, remote data sets, and pagination of results.
To get started, checkout examples and documentation at https://select2.org/
You can source Select2 directly from a CDN like JSDliver or CDNJS, download it from this GitHub repo, or use one of the integrations below.
Third party developers have created plugins for platforms which allow Select2 to be integrated more natively and quickly. For many platforms, additional plugins are not required because Select2 acts as a standard <select>
box.
Plugins
Themes
Missing an integration? Modify this README
and make a pull request back here to Select2 on GitHub.
Select2 supports multiple languages by simply including the right language JS
file (dist/js/i18n/it.js
, dist/js/i18n/nl.js
, etc.) after
dist/js/select2.js
.
Missing a language? Just copy src/js/select2/i18n/en.js
, translate it, and
make a pull request back to Select2 here on GitHub.
The documentation for Select2 is available
online at the documentation website and is located within the
docs
directory of this repository.
You can find out about the different ways to get in touch with the Select2 community at the Select2 community page.
The license is available within the repository in the LICENSE file.