chore(nav): improve doc wording

This commit is contained in:
Tim Lancina
2015-10-03 08:40:29 -05:00
parent 539edf8ebd
commit 8f75a27980

View File

@ -5,17 +5,17 @@ import {IonicComponent} from '../../config/decorators';
import {NavController} from './nav-controller'; import {NavController} from './nav-controller';
/** /**
* Nav is a basic navigation controller component. It handles animating between * Nav is a basic navigation controller component. As a subclass of [NavController](../NavController/)
* incoming and outgoing views, and as a subclass of [NavController](../NavController/) * you use it to navigate to views in your app. Nav automatically animates
* it also exposes the underlying navigation stack. * transitions between views for you.
* *
* For more information on using navigation controllers like Nav or [Tabs](../../Tabs/Tabs/), * For more information on using navigation controllers like Nav or [Tabs](../../Tabs/Tabs/),
* please take a look at the [NavController API reference](../NavController/). * take a look at the [NavController API reference](../NavController/).
* *
* <h2 id="back_navigation">Back navigation</h2> * <h2 id="back_navigation">Back navigation</h2>
* One feature of Nav is that if your [view](../NavController/#creating_views) has * If a [view](../NavController/#creating_views) you navigate to has a [NavBar](../NavBar/),
* a [NavBar](../NavBar/), a back button will be added automatically when there * Nav will automatically add a back button to it if there is a view
* view before it in the navigation stack. * before the one you are navigating to in the navigation stack.
* *
* Additionally, specifying the `swipe-back-enabled` property will allow you to * Additionally, specifying the `swipe-back-enabled` property will allow you to
* swipe to go back: * swipe to go back: