Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
How to use Route Provider
-
Hi all,
how to use Angular js 1.x state Provider in OnsenUI 2.0
-
@kennedymca I wrote a tutorial about this some time ago for Onsen UI 1.x. It didn’t change too much for Onsen UI 2.0, I think you just need to adapt few things.
-
is it support StateProvider or Not?, because i am beginner in Onsen UI 2.0
-
@kennedymca There is no such a thing as
StateProvider
in Onsen UI, so if you are asking if we provide built-in routing based on URLs then answer is no, we don’t. Now, if you are speaking aboutui-router
and its$stateProvider
, I just gave you a link where you can see that it is compatible with Onsen UI.
-
i have to develop these kinds of procedure using StateProvider, i have one introduction page and it’s navigate to login page when login is success, i have to show menu page.i try to develop this procedure while i try to press back button in login page stateProvider onExit event not working. can you any kind of example in OnesenUI 1.x ?