It’s possible pass Data through side menu to another page look :
this.pages = [
{ title: 'Home', component: HomePage },
{ title: 'Meu Perfil', component: UserProfile },
{ title: 'Sair', component: Login }
];
this.activePage = this.pages[0];
getData() {
this.service.getData().subscribe( data => {
this.someData = data;
});
}
I want to pass the Data to another page, how can I do ?