mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Update type of DialogOptions.buttons
Add event argument to DialogOptions.buttons callback.
This commit is contained in:
Vendored
+1
-1
@@ -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