mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 03:00:58 +08:00
docs(): updates
This commit is contained in:
@ -1,44 +1,10 @@
|
||||
import {
|
||||
Build,
|
||||
Component,
|
||||
Element,
|
||||
Event,
|
||||
EventEmitter,
|
||||
Method,
|
||||
Prop,
|
||||
Watch
|
||||
} from '@stencil/core';
|
||||
import { Build, Component, Element, Event, EventEmitter, Method, Prop, Watch } from '@stencil/core';
|
||||
import { ViewLifecycle } from '../..';
|
||||
import {
|
||||
Animation,
|
||||
ComponentProps,
|
||||
Config,
|
||||
FrameworkDelegate,
|
||||
GestureDetail,
|
||||
Mode,
|
||||
NavComponent,
|
||||
NavOptions,
|
||||
NavOutlet,
|
||||
NavResult,
|
||||
QueueController,
|
||||
RouteID,
|
||||
RouteWrite,
|
||||
TransitionDoneFn,
|
||||
TransitionInstruction
|
||||
} from '../../interface';
|
||||
import { Animation, ComponentProps, Config, FrameworkDelegate, GestureDetail, Mode, NavComponent, NavOptions, NavOutlet, NavResult,QueueController, RouteID, RouteWrite, TransitionDoneFn, TransitionInstruction } from '../../interface';
|
||||
import { assert } from '../../utils/helpers';
|
||||
import {
|
||||
TransitionOptions,
|
||||
lifecycle,
|
||||
transition
|
||||
} from '../../utils/transition';
|
||||
import { TransitionOptions, lifecycle, transition } from '../../utils/transition';
|
||||
import { RouterIntent } from '../router/utils/constants';
|
||||
import {
|
||||
ViewController,
|
||||
ViewState,
|
||||
convertToViews,
|
||||
matches
|
||||
} from './view-controller';
|
||||
import { ViewController, ViewState, convertToViews, matches } from './view-controller';
|
||||
|
||||
@Component({
|
||||
tag: 'ion-nav'
|
||||
|
@ -1,5 +1,7 @@
|
||||
# ion-nav
|
||||
|
||||
Nav is a standalone component for loading arbitrary components and pushing to new components on to the stack.
|
||||
Unlike RouterOutlet, Nav is not tied to a particular router. Meaning that if we load a Nav component, and push other components to the stack, they will not affect the apps overall router. This fits use cased where you could have a modal, which needs it's own sub-navigation, but not make it tied to the apps URL.
|
||||
|
||||
|
||||
<!-- Auto Generated Below -->
|
||||
|
Reference in New Issue
Block a user