aboutsummaryrefslogtreecommitdiffstats
path: root/src/ngRoute
diff options
context:
space:
mode:
authorMatias Niemelä2013-07-29 19:45:59 -0400
committerMisko Hevery2013-07-29 21:22:05 -0700
commite1fe2ac2691e319473ed2bbca501fc6b641024e5 (patch)
treed6900400222e74403fdc5bed1d5ce4c038bda2f0 /src/ngRoute
parent33d45d8fafb5abf99e6fd811cad1dd57daab918b (diff)
downloadangular.js-e1fe2ac2691e319473ed2bbca501fc6b641024e5.tar.bz2
chore(ngdocs): all animation-supported directives working with docs examples and jsFiddle/Plunkr pages
Diffstat (limited to 'src/ngRoute')
-rw-r--r--src/ngRoute/directive/ngView.js15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/ngRoute/directive/ngView.js b/src/ngRoute/directive/ngView.js
index 2ca41897..6a1f2012 100644
--- a/src/ngRoute/directive/ngView.js
+++ b/src/ngRoute/directive/ngView.js
@@ -61,10 +61,21 @@ ngRouteModule.directive('ngView', ngViewFactory);
</file>
<file name="animations.css">
- .view-example {
+ .example-animate-container {
+ position:relative;
+ background:white;
+ border:1px solid black;
+ height:40px;
+ overflow:hidden;
+ }
+
+ .example-animate-container > div {
+ padding:10px;
+ }
+
+ .view-example.ng-enter, .view-example.ng-leave {
-webkit-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 1.5s;
-moz-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 1.5s;
- -ms-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 1.5s;
-o-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 1.5s;
transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 1.5s;