Merge pull request #1329 from ufon/master

added some missing options to select2
This commit is contained in:
Basarat Ali Syed
2013-11-25 02:38:20 -08:00
+3 -2
View File
@@ -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;