feat(nav): goBack directive

This commit is contained in:
Manu Mtz.-Almeida
2018-03-27 14:54:43 +02:00
parent 49937eb98c
commit 862e5719c6
10 changed files with 154 additions and 88 deletions

View File

@ -9,6 +9,8 @@ import { SelectValueAccessor } from './control-value-accessors/select-value-acce
import { TextValueAccessor } from './control-value-accessors/text-value-accessor';
// navigation
import { GoBack } from './navigation/go-back';
import { NavController } from './navigation/ion-nav-controller';
import { Nav } from './navigation/ion-nav';
import { Tab } from './navigation/ion-tab';
import { Tabs } from './navigation/ion-tabs';
@ -219,6 +221,7 @@ import {
Nav,
Tab,
Tabs,
GoBack,
// router
IonRouterOutlet,
@ -327,6 +330,7 @@ import {
BooleanValueAccessor,
Nav,
IonRouterOutlet,
GoBack,
Tab,
Tabs,
NumericValueAccessor,
@ -353,6 +357,7 @@ export class IonicModule {
return {
ngModule: IonicModule,
providers: [
NavController,
AlertController,
ActionSheetController,
Events,