Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49240

Why is NavController and navPop etc. still present in Ionic 4 but without function?

$
0
0

@Dovel wrote:

Why is NavController and navPop etc. still present in Ionic 4 but without function? Do I understand something wrong?

For example. This import. The NavController. Not usable, but it’s available in the Ionic 4 framework. Why?

import { NavController } from '@ionic/angular';

Also here some docs about the ion-nav element. I guess it’s the replacement for ion-navbar. And navPop on a button in the header to close modals.

I wondering why using ion-nav because the official docs explains using ion-toolbar for it. See https://ionicframework.com/docs/api/header

Please, can someone enlighten me?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49240

Trending Articles