mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 09:01:45 +08:00
jqueryui - Autocomplete add filter signature
add filter signature for jqueryui Autocomplete https://github.com/jquery/jquery-ui/blob/master/ui/widgets/autocomplete.js#L624
This commit is contained in:
3
jqueryui/jqueryui.d.ts
vendored
3
jqueryui/jqueryui.d.ts
vendored
@@ -77,6 +77,7 @@ declare module JQueryUI {
|
||||
|
||||
interface Autocomplete extends Widget, AutocompleteOptions {
|
||||
escapeRegex: (value: string) => string;
|
||||
filter: (array: any, term: string) => any;
|
||||
}
|
||||
|
||||
|
||||
@@ -363,7 +364,7 @@ declare module JQueryUI {
|
||||
title?: string;
|
||||
width?: any; // number or string
|
||||
zIndex?: number;
|
||||
|
||||
|
||||
open?: DialogEvent;
|
||||
close?: DialogEvent;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user