1
0
mirror of synced 2024-11-26 14:56:07 +03:00
select2/pages/14.advanced/02.default-adapters/05.results/docs.md
2017-09-08 14:23:33 -04:00

706 B

title taxonomy
Results
category
docs

The ResultsAdapter controls the list of results that the user can select from.

The results adapter can be overridden by assigning a custom adapter to the resultsAdapter configuration option. While the results adapter does not define any additional methods that must be implemented, it makes extensive use of the Select2 event system for controlling the display of results and messages.

AMD Modules:

select2/results

Decorators

SelectOnClose

This decorator implements automatic selection of the highlighted option when the dropdown is closed.

AMD Modules:

select2/dropdown/selectOnClose