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

Root Page Ionview not loaded

$
0
0

@rflig wrote:

Hi, I’m having trouble with switching pages with different sliding menu. For example, when I try to use setRoot to my menu page, the set rootPage view won’t load and retains the old root page. Does this commonly happens to you?

export class MenuPage {
	rootPage: any = 'HomePage';
}

The MenuPage is called through this.navCtrl.setRoot('MenuPage'). The menu is loaded but its rootPage which should be showing the ‘HomePage’ is not showing, instead retains the old rootPage.

Has anyone encountered this kind of problem especially for starters like me?

I’m using Lazy Loading by the way.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49362

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>