Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Passing parameters to tabbed page #5172

Closed
lordgreg opened this issue Jan 24, 2016 · 2 comments
Closed

feat: Passing parameters to tabbed page #5172

lordgreg opened this issue Jan 24, 2016 · 2 comments
Assignees
Milestone

Comments

@lordgreg
Copy link

Type: docs

Ionic Version: 2.x

Platform: all

Have ROOT page from which you then nav.push to details page with TABS.

Using push as:

  goToDetail (detail) {
    this.nav.push(MyDetailComponent, {
      item: detail
    });

upper code will send item to Tabs. Docs don't have any explanation on how to Pass RootPage parameter to DetailGeneral component, which is injected from MyDetailComponent.

@joewong1227
Copy link

You could check out NavParam in the doc: http://ionicframework.com/docs/v2/api/components/nav/NavParams/

@adamdbradley adamdbradley added this to the 2.0.0-beta.1 milestone Feb 3, 2016
@brandyscarney brandyscarney added feature and removed docs labels Feb 3, 2016
@brandyscarney brandyscarney changed the title docs: Passing parameters to tabbed page feat: Passing parameters to tabbed page Feb 3, 2016
@lastmjs
Copy link

lastmjs commented Feb 11, 2016

Is this feature requesting the ability to pass nav params into the @page for a tab? I would really like the ability to treat tab navigation just like any other @page navigation, since the contents of each tab are @Pages.

adamdbradley added a commit that referenced this issue Feb 15, 2016
@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants