Skip to content

Commit 3e9a763

Browse files
committed
Added filterable widget.
1 parent f994223 commit 3e9a763

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

jquerymobile/jquerymobile.d.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,18 @@ interface ListViewEvents {
202202
create?: JQueryMobileEvent;
203203
}
204204

205+
interface FilterableOptions {
206+
children?: any;
207+
defaults?: boolean;
208+
disabled?: boolean;
209+
enhanced?: boolean;
210+
filterCallback?: {(index: number, searchValue?: string): boolean; };
211+
filterPlaceholder?: string;
212+
filterReveal?: boolean;
213+
filterTheme?: string;
214+
input: any;
215+
}
216+
205217
interface NavbarOptions {
206218
iconpos: string;
207219
}
@@ -371,6 +383,7 @@ interface JQueryMobile extends JQueryMobileOptions {
371383
checkboxradio: any;
372384
selectmenu: any;
373385
listview: any;
386+
filterable: any;
374387
defaultHomeScroll: number;
375388
}
376389

@@ -446,6 +459,10 @@ interface JQuery {
446459
listview(options: ListViewOptions): JQuery;
447460
listview(events: ListViewEvents): JQuery;
448461

462+
filterable(): JQuery;
463+
filterable(command: string): JQuery;
464+
filterable(options: FilterableOptions): JQuery;
465+
449466
navbar(options?: NavbarOptions): JQuery;
450467

451468
table(): JQuery;

0 commit comments

Comments
 (0)