ionViewLoaded and ionViewDidEnter are trigger before page content loaded

I have used two pages in ion-menu. In that pages i have used the tabbar.ionViewLoaded and ionViewDidEnter are trigger only initial page content loaded.
On second page,trigger it before the content loaded.

I need to procees something after content loaded

How to resolve this?

Could you try to share some code? Kind of hard to help without seeing a clearer picture.

ion-menu code


import {Component} from ‘@angular/core’;
import {HomePage} from ‘…/home/home’;
import {AboutPage} from ‘…/about/about’;
import {ContactPage} from ‘…/contact/contact’;

templateUrl: ‘build/pages/tabs/tabs.html’
export class TabsPage {

private tab1Root: any;
private tab2Root: any;
private tab3Root: any;

constructor() {
// this tells the tabs component which Pages
// should be each tab’s root Page
this.tab1Root = HomePage;
this.tab2Root = AboutPage;
this.tab3Root = ContactPage;


import {Component} from ‘@angular/core’;
import {NavController} from ‘ionic-angular’;

templateUrl: ‘build/pages/home/home.html’
export class HomePage {
constructor(private navCtrl: NavController) {

If i will render the custom component in home page.ionViewLoaded method is calling before custom component rendering.