c9a8508a39
The `closeOnSelect` option was previously used to control whether or not the dropdown was closed when an option was selected. This could be simulated by triggering the `open` event after the `close` event was received, but it makes sense to abstract it out into a decorator. This also adds support for not closing the dropdown when the control key is being held. This is useful when multiple options need to be selected in quick succession, so the dropdown does not have to be reopened. This also adds documentation that covers both changes. This closes https://github.com/select2/select2/pull/2735. This closes https://github.com/select2/select2/issues/3017. |
||
---|---|---|
.. | ||
_includes | ||
_layouts | ||
dist | ||
vendor | ||
.gitignore | ||
announcements-4.0.html | ||
community.html | ||
examples.html | ||
index.html | ||
options.html | ||
README.md |
Select2 Documentation
This repository holds the latest documentation for Select2.
What is this?
The documentation is automatically extracted from the docs
directory at the
Select2 source repository. This is done periodically by
the maintainers of Select2.
Pull requests will usually be ignored, documentation fixes should be made in
the source repository. We may accept pull requests if they match the
source docs
directory, but for the most part pull requests will be closed on
sight.
How can I build these docs manually?
In the main Select2 repository, you can build the documentation by executing
grunt docs
Which will start up the documentation on port 4000. You will need Jekyll installed to build the documentation.