aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorRob Wormald2014-01-16 20:43:34 -0600
committerCaitlin Potter2014-01-16 21:49:01 -0500
commit1cdcddb5cca1cfce7d5718b997d75e654b7ec3ef (patch)
treef893ffa96618af88d5de092856f6aec77e563961 /docs
parent0e4d7cacad9d51be171fcf3222ce48dbdfc92ffa (diff)
downloadangular.js-1cdcddb5cca1cfce7d5718b997d75e654b7ec3ef.tar.bz2
docs(animations): 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. Closes #5848
Diffstat (limited to 'docs')
-rw-r--r--docs/content/guide/animations.ngdoc14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/content/guide/animations.ngdoc b/docs/content/guide/animations.ngdoc
index 80e7377d..97e3d93b 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`:
<label>
<input type="checkbox" ng-model="checked" style="float:left; margin-right:10px;"> Is Visible...
</label>
- <div class="check-element animate-show-hide" ng-show="checked" style="clear:both;">
+ <div class="check-element sample-show-hide" ng-show="checked" style="clear:both;">
Visible...
</div>
</div>
</file>
<file name="animations.css">
- .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;
}
</file>