Update type of DialogOptions.buttons

Add event argument to DialogOptions.buttons callback.
This commit is contained in:
slozier
2015-08-24 13:59:06 -04:00
parent c5a2f44bab
commit e12cbe7d2c

View File

@@ -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;