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

How to receive 2 param from different pages in ionic 4

$
0
0

@wanaisa wrote:

Hi , I’m havin an issues on passing 2 data from different page to main page called ‘mainex’

I’m using ionic 4 and angular 5

app-routing-module

here is my main page that i want 2 param to meet

{

    path: 'mainex',

    loadChildren: () => import('./exmenu/mainex/mainex.module').then( m => m.MainexPageModule)

  },

here is my two pages that i need the parameters to pass into the mainex

{

    path: 'exf7q4/:emark3',

    loadChildren: () => import('./exmenu/exf7q4/exf7q4.module').then( m => m.Exf7q4PageModule)

  },
{

    path: 'exf8q8/:emarks7',

    loadChildren: () => import('./exmenu/exf8q8/exf8q8.module').then( m => m.Exf8q8PageModule)

  },

what should i do? i’m confused.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49253

Trending Articles