mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-06 12:30:10 +08:00
Update chosen.jquery.d.ts
updated the options for chosen to be based on the chosen's latest release (1.4.2)
This commit is contained in:
1 parent
954c64c100
commit
a38e4d5cd2
1 file changed
+13
-8
Vendored
+13
-8
@@ -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 <https://github.com/borisyankov/>
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user