From d2801f50eb05d6d5d91256642640f721321bf845 Mon Sep 17 00:00:00 2001 From: Wayne Maurer Date: Thu, 11 Jun 2015 11:55:01 +0200 Subject: [PATCH 1/2] backdropClass property added backdropClass property to modal service settings --- angular-ui-bootstrap/angular-ui-bootstrap.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/angular-ui-bootstrap/angular-ui-bootstrap.d.ts b/angular-ui-bootstrap/angular-ui-bootstrap.d.ts index c3675e7a9..f6273dbd3 100644 --- a/angular-ui-bootstrap/angular-ui-bootstrap.d.ts +++ b/angular-ui-bootstrap/angular-ui-bootstrap.d.ts @@ -264,6 +264,11 @@ declare module angular.ui.bootstrap { */ keyboard?: boolean; + /** + * additional CSS class(es) to be added to a modal backdrop template + */ + backdropClass?: string; + /** * additional CSS class(es) to be added to a modal window template */ From af5f3b0cd3862197d7a8d4bde2d7b7ba10f59e6f Mon Sep 17 00:00:00 2001 From: Wayne Maurer Date: Thu, 11 Jun 2015 11:57:13 +0200 Subject: [PATCH 2/2] backdropClass property added backdropClass property to modal service settings --- angular-ui-bootstrap/angular-ui-bootstrap-tests.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/angular-ui-bootstrap/angular-ui-bootstrap-tests.ts b/angular-ui-bootstrap/angular-ui-bootstrap-tests.ts index c9883f86e..5aef97afa 100644 --- a/angular-ui-bootstrap/angular-ui-bootstrap-tests.ts +++ b/angular-ui-bootstrap/angular-ui-bootstrap-tests.ts @@ -141,6 +141,7 @@ testApp.controller('TestCtrl', ( scope: $scope, template: "
i'm a template!
", templateUrl: '/templates/modal.html', + backdropClass: 'modal-backdrop-test', windowClass: 'modal-test' }); @@ -227,4 +228,4 @@ interface IModalTestCtrlScope { close(): void; dismiss(): void; -} \ No newline at end of file +}