From 8c1396b03f9812bb299e4d118cb526dc095b9972 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 573b2510f6..09bb0882e3 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: +