Added overload for modal so can use backdrop: "static"

This commit is contained in:
Steve Shearn 2013-04-07 17:35:11 +10:00
parent bba3507d24
commit 39be8239d2

View File

@ -13,6 +13,13 @@ interface ModalOptions {
remote?: string;
}
interface ModalOptionsBackdropString {
backdrop?: string; // for "static"
keyboard?: bool;
show?: bool;
remote?: string;
}
interface ScrollSpyOptions {
offset?: number;
}
@ -63,6 +70,7 @@ interface AffixOptions {
interface JQuery {
modal(options?: ModalOptions): JQuery;
modal(options?: ModalOptionsBackdropString): JQuery;
modal(command: string): JQuery;
dropdown(): JQuery;