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

How to structure Header Buttons and complex event handlers #58

Open
came opened this issue Jun 10, 2016 · 0 comments
Open

How to structure Header Buttons and complex event handlers #58

came opened this issue Jun 10, 2016 · 0 comments

Comments

@came
Copy link

came commented Jun 10, 2016

Hi,

I am just figuring out how to build a simple meteor+ionic+react app with your package.
It's my first ionic as well as react app so far.
Looking at the kitchen demo I am asking my self how I could call an event handler (save data) located in my page component after a user clicks a IonNavBar Button ("save").
The data is located in the page component so I think the save handler should be located there as well.
However, the NavBarButton is in the layout component. Writing my data save logic in the layout component feels wrong and moving the IonNavBar Button into the page as well.

What would you do?
Best,
Carsten

@came came changed the title Header Events of Page How to structure Header Buttons and complex event handlers Jun 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant