From e1fe2ac2691e319473ed2bbca501fc6b641024e5 Mon Sep 17 00:00:00 2001 From: Matias Niemelä Date: Mon, 29 Jul 2013 19:45:59 -0400 Subject: chore(ngdocs): all animation-supported directives working with docs examples and jsFiddle/Plunkr pages --- src/ngRoute/directive/ngView.js | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'src/ngRoute/directive') 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); - .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; -- cgit v1.2.3