mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-28 09:25:50 +08:00
Update type of DialogOptions.buttons
Add event argument to DialogOptions.buttons callback.
This commit is contained in:
2
jqueryui/jqueryui.d.ts
vendored
2
jqueryui/jqueryui.d.ts
vendored
@@ -341,7 +341,7 @@ declare module JQueryUI {
|
||||
|
||||
interface DialogOptions extends DialogEvents {
|
||||
autoOpen?: boolean;
|
||||
buttons?: { [buttonText: string]: () => void } | ButtonOptions[];
|
||||
buttons?: { [buttonText: string]: (event?: Event) => void } | ButtonOptions[];
|
||||
closeOnEscape?: boolean;
|
||||
closeText?: string;
|
||||
dialogClass?: string;
|
||||
|
||||
Reference in New Issue
Block a user