mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-10 11:50:49 +08:00
Added overload for modal so can use backdrop: "static"
This commit is contained in:
1 parent
bba3507d24
commit
39be8239d2
1 file changed
+8
Vendored
+8
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user