1
0
mirror of synced 2024-11-22 21:16:10 +03:00
select2/dist/js
Kevin Brown 584d3b48a2 Added selectOnClose
`selectOnClose` is a new option which works very much like the old
`selectOnBlur` option. When the `close` event is triggered, the
highlighted result is automatically selected. This is useful for
single selects, which is where it is designed to be used, but it
can also be used on multiple selects.

This also adds tests to verify that this works in the future.

During the creation of the test, we noticed that we were missing a
mock container that could be used for triggering events. One was
created and a general mock JS file was created to hold any future
mocks for tests.
2015-01-11 21:47:17 -05:00
..
i18n Universally use the object query return 2015-01-07 21:11:32 -05:00
select2.amd.full.js Added selectOnClose 2015-01-11 21:47:17 -05:00
select2.amd.js Added selectOnClose 2015-01-11 21:47:17 -05:00
select2.full.js Added selectOnClose 2015-01-11 21:47:17 -05:00
select2.full.min.js Added selectOnClose 2015-01-11 21:47:17 -05:00
select2.js Added selectOnClose 2015-01-11 21:47:17 -05:00
select2.min.js Added selectOnClose 2015-01-11 21:47:17 -05:00