From a38e4d5cd28e1535d181ef951f471dbd68e10c33 Mon Sep 17 00:00:00 2001 From: Rob Hux Date: Wed, 8 Apr 2015 10:37:06 -0400 Subject: [PATCH] Update chosen.jquery.d.ts updated the options for chosen to be based on the chosen's latest release (1.4.2) --- chosen/chosen.jquery.d.ts | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/chosen/chosen.jquery.d.ts b/chosen/chosen.jquery.d.ts index 890b4221ec..1c95073394 100644 --- a/chosen/chosen.jquery.d.ts +++ b/chosen/chosen.jquery.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Chosen.JQuery 0.9 +// Type definitions for Chosen.JQuery 1.4.2 // Project: http://harvesthq.github.com/chosen/ // Definitions by: Boris Yankov // Definitions: https://github.com/borisyankov/DefinitelyTyped @@ -8,18 +8,23 @@ interface ChosenOptions { allow_single_deselect?: boolean; - disable_search_threshold?: number; disable_search?: boolean; + disable_search_threshold?: number; + enable_split_word_search?: boolean; + inherit_select_classes?: boolean; + max_selected_options?: number; + no_results_text?: string; + placeholder_text_multiple?: string; + placeholder_text_single?: string; search_contains?: boolean; single_backstroke_delete?: boolean; - max_selected_options?: number; - placeholder_text_multiple?: string; - placeholder_text?: string; - placeholder_text_single?: string; - no_results_text?: string; + width?: number; + display_disabled_options?: boolean; + display_selected_options?: boolean; + include_group_label_in_selected?: boolean; } interface JQuery { chosen(): JQuery; chosen(options: ChosenOptions): JQuery; -} \ No newline at end of file +}