mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-03 23:42:50 +00:00
Added overload for modal so can use backdrop: "static"
This commit is contained in:
parent
bba3507d24
commit
39be8239d2
8
bootstrap/bootstrap.d.ts
vendored
8
bootstrap/bootstrap.d.ts
vendored
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user