From a837405c4c546bfef309eb6b5d50db50d01cd73a Mon Sep 17 00:00:00 2001 From: Rob Wormald Date: Thu, 16 Jan 2014 20:43:34 -0600 Subject: [PATCH] renamed animate-show-hide to sample-show-hide This always throws me off - I think it helps to make it clear that the class name is arbitrary, and what matters is the .ng-etc classes. --- docs/content/guide/animations.ngdoc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/content/guide/animations.ngdoc b/docs/content/guide/animations.ngdoc index 80e7377da633..97e3d93b177a 100644 --- a/docs/content/guide/animations.ngdoc +++ b/docs/content/guide/animations.ngdoc @@ -21,19 +21,19 @@ Below is a quick example of animations being enabled for `ngShow` and `ngHide`: -
+
Visible...
- .animate-show-hide { + .sample-show-hide { padding:10px; border:1px solid black; background:white; } - .animate-show-hide.ng-hide-add, .animate-show-hide.ng-hide-remove { + .sample-show-hide.ng-hide-add, .sample-show-hide.ng-hide-remove { -webkit-transition:all linear 0.5s; -moz-transition:all linear 0.5s; -o-transition:all linear 0.5s; @@ -41,13 +41,13 @@ Below is a quick example of animations being enabled for `ngShow` and `ngHide`: display:block!important; } - .animate-show-hide.ng-hide-add.ng-hide-add-active, - .animate-show-hide.ng-hide-remove { + .sample-show-hide.ng-hide-add.ng-hide-add-active, + .sample-show-hide.ng-hide-remove { opacity:0; } - .animate-show-hide.ng-hide-add, - .animate-show-hide.ng-hide-remove.ng-hide-remove-active { + .sample-show-hide.ng-hide-add, + .sample-show-hide.ng-hide-remove.ng-hide-remove-active { opacity:1; }