mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-05 12:20:07 +08:00
added some missing options to select2
This commit is contained in:
1 parent
d7968354c2
commit
82cce1fe2e
1 file changed
+3
-2
Vendored
+3
-2
@@ -37,6 +37,7 @@ interface IdTextPair {
|
||||
|
||||
interface Select2Options {
|
||||
width?: string;
|
||||
dropdownAutoWidth?: boolean;
|
||||
minimumInputLength?: number;
|
||||
minimumResultsForSearch?: number;
|
||||
maximumSelectionSize?: number;
|
||||
@@ -48,8 +49,8 @@ interface Select2Options {
|
||||
openOnEnter?: boolean;
|
||||
id?: (object: any) => string;
|
||||
matcher?: (term: string, text: string, option: any) => boolean;
|
||||
formatSelection?: (object: any, container: JQuery) => string;
|
||||
formatResult?: (object: any, container: JQuery, query: any) => string;
|
||||
formatSelection?: (object: any, container: JQuery, escapeMarkup:(markup: string) => string) => string;
|
||||
formatResult?: (object: any, container: JQuery, query: any, escapeMarkup: (markup: string) => string) => string;
|
||||
formatResultCssClass?: (object: any) => string;
|
||||
formatNoMatches?: (term: string) => string;
|
||||
formatSearching?: () => string;
|
||||
|
||||
Reference in new issue
Block a user