mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-10 11:50:49 +08:00
Update type of DialogOptions.buttons
Add event argument to DialogOptions.buttons callback.
This commit is contained in:
1 parent
c5a2f44bab
commit
e12cbe7d2c
1 file changed
+1
-1
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