From 789bdea6df3b1a5d8870716935a59777b281a8aa Mon Sep 17 00:00:00 2001 From: Chris Chua Date: Sat, 20 Sep 2014 18:03:57 -0700 Subject: [PATCH] feat(modal): add option to disable animations Note: Move backdropClass logic into compile function because otherwise modifying classes in the compile function is broken when using an interpolated class attribute. Fixes #1007 Closes #2725 --- src/modal/docs/readme.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modal/docs/readme.md b/src/modal/docs/readme.md index 1f60a009da..25014233b7 100644 --- a/src/modal/docs/readme.md +++ b/src/modal/docs/readme.md @@ -36,3 +36,6 @@ Finally, a `modal.closing` event is broadcast to the modal scope before the moda preventDefault on the event, then the modal will remain open. The $close and $dismiss methods return true if the event was allowed. The event itself includes a parameter for the result/reason and a boolean parameter that indicates whether the modal is being closed (true) or dismissed. + +The `modalConfig` exposes the following global option for all modals/backdrops: +