From 39be8239d23e88fa71c8f35f155f7eb035be6fc3 Mon Sep 17 00:00:00 2001 From: Steve Shearn Date: Sun, 7 Apr 2013 17:35:11 +1000 Subject: [PATCH] Added overload for modal so can use backdrop: "static" --- bootstrap/bootstrap.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bootstrap/bootstrap.d.ts b/bootstrap/bootstrap.d.ts index 3247b6a7d3..c06c08f89e 100644 --- a/bootstrap/bootstrap.d.ts +++ b/bootstrap/bootstrap.d.ts @@ -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;