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.
Page ready event without ng-controller? (v1.3.15)
-
Hi,
is there a way of run code when ons-page is loaded? Please not the afterTransition,
start rendering after slide is too late, awful UX.something like: <ons-page ready=“app.pageXReady()” >?
I don’t like Angular much. WebComponents/ES6+ for the future!
Kind regards.
-
You may want to check page life cycle events ;)
If you are using 1.3.x you can only listen for the oldpageinit
event. The rest are for Onsen UI 2.
-
Thx! Moving to v2 when it’s released :stuck_out_tongue_closed_eyes: