mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-28 12:30:21 +08:00
Made dialog options extend events type, test should have had button callbacks within 'buttons' in 'jqueryui'.
This commit is contained in:
1 parent
8d1b81107c
commit
2ffed1fde1
2 files changed
+10
-9
No files matched your search
Vendored
+3
-3
@@ -336,9 +336,9 @@ declare module JQueryUI {
|
||||
|
||||
// Dialog //////////////////////////////////////////////////
|
||||
|
||||
interface DialogOptions {
|
||||
interface DialogOptions extends DialogEvents {
|
||||
autoOpen?: boolean;
|
||||
buttons?: any; // object or []
|
||||
buttons?: { [buttonText: string]: () => void } | ButtonOptions[];
|
||||
closeOnEscape?: boolean;
|
||||
closeText?: string;
|
||||
dialogClass?: string;
|
||||
@@ -382,7 +382,7 @@ declare module JQueryUI {
|
||||
resizeStop?: DialogEvent;
|
||||
}
|
||||
|
||||
interface Dialog extends Widget, DialogOptions, DialogEvents {
|
||||
interface Dialog extends Widget, DialogOptions {
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user