ionic-angular
Version:
A powerful framework for building mobile and progressive web apps with JavaScript and Angular 2
45 lines (44 loc) • 1.18 kB
TypeScript
import { AfterContentInit } from '@angular/core';
import { DeepLinker } from '../../navigation/deep-linker';
import { NavController } from '../../navigation/nav-controller';
import { ViewController } from '../../navigation/view-controller';
/**
* @name NavPop
* @description
* Directive to declaratively pop the current page off from the
* navigation stack.
*
* @usage
* ```html
* <ion-content>
*
* <button ion-button navPop>Go Back</button>
*
* </ion-content>
* ```
*
* Similar to {@link /docs/v2/api/components/nav/NavPush/ `NavPush` }
* @demo /docs/v2/demos/src/navigation/
* @see {@link /docs/v2/components#navigation Navigation Component Docs}
* @see {@link ../NavPush NavPush API Docs}
*/
export declare class NavPop {
_nav: NavController;
constructor(_nav: NavController);
/**
* @private
*/
onClick(): boolean;
}
/**
* @private
*/
export declare class NavPopAnchor implements AfterContentInit {
host: NavPop;
linker: DeepLinker;
viewCtrl: ViewController;
_href: string;
constructor(host: NavPop, linker: DeepLinker, viewCtrl: ViewController);
updateHref(): void;
ngAfterContentInit(): void;
}