This adds the `select` and `unselect` events so users can still hook into them from their jQuery plugins. This also modifies the core `trigger` to fire pre-events that can be canceled for the `open`, `close`, `select`, and `unselect` events. Users implementing these events who need to handle cases where the event has been prevented should check `args.prevented`, where `args` is the object that was included for arguments when triggering the internal event.
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.