Page 1 of 1

Navigate to page from html button

Posted: Wed Oct 17, 2018 6:00 pm
by Cat

Hello I'm trying to do something that I'm not sure is possible to do.

I actually wanted a floating button, but since Ionic3 is still too early for production and the current supported Ionic version doesn't support FAB, I thought perhaps a type of workaround might work. I tried to create a floating button with html which needs to navigate to a different page on click.

For that, I followed this thread:
https://getsatisfaction.com/apperyio/...

Clicking the button takes me back to the login page (the first page to load) instead of the intended page. I'm thinking that perhaps either for some reason it resets to the first page or needs auth details or something?

Any ideas? Perhaps it's not possible to do with current Ionic version?
Thank you!

Image

Image

Image

Image


Navigate to page from html button

Posted: Thu Oct 18, 2018 10:46 am
by Serhii Kulibaba

Hello,

Please use the directive "navigate-to" (https://docs.appery.io/docs/appbuilde...) for that: pre<button navigate-to="Screen2">Screen2</button>/pre


Navigate to page from html button

Posted: Thu Oct 18, 2018 11:18 am
by Cat

OmGosh - Off course! Thank you very very much!