mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 19:09:18 +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:
21
chosen/chosen.jquery.d.ts
vendored
21
chosen/chosen.jquery.d.ts
vendored
@@ -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