docs(ionNavView): specify animation class

Closes #1223
This commit is contained in:
Andy Joslin
2014-04-29 06:11:40 -06:00
parent b772a94de5
commit bd47a27afe

View File

@@ -32,12 +32,14 @@
* the {@link ionic.directive:ionNavBar} directive that updates as we navigate through the
* navigation stack.
*
* You can use any [animation class](/docs/components#animation) on the navView to have its pages slide.
* You can use any [animation class](/docs/components#animation) on the navView's `animation` attribute
* to have its pages animate.
*
* Recommended for page transitions: 'slide-left-right', 'slide-left-right-ios7', 'slide-in-up'.
*
* ```html
* <ion-nav-bar></ion-nav-bar>
* <ion-nav-view class="slide-left-right">
* <ion-nav-view animation="slide-left-right">
* <!-- Center content -->
* </ion-nav-view>
* ```