nav-pop.d.ts 680B

123456789101112131415161718192021222324252627282930
  1. import { NavController } from '../../navigation/nav-controller';
  2. /**
  3. * @name NavPop
  4. * @description
  5. * Directive to declaratively pop the current page off from the
  6. * navigation stack.
  7. *
  8. * @usage
  9. * ```html
  10. * <ion-content>
  11. *
  12. * <button ion-button navPop>Go Back</button>
  13. *
  14. * </ion-content>
  15. * ```
  16. *
  17. * Similar to {@link /docs/api/components/nav/NavPush/ `NavPush` }
  18. * @demo /docs/demos/src/navigation/
  19. * @see {@link /docs/components#navigation Navigation Component Docs}
  20. * @see {@link ../NavPush NavPush API Docs}
  21. */
  22. export declare class NavPop {
  23. _nav: NavController;
  24. constructor(_nav: NavController);
  25. /**
  26. * @hidden
  27. */
  28. onClick(): boolean;
  29. }