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.

  • Onsen UI

    You may want to check page life cycle events ;)
    If you are using 1.3.x you can only listen for the old pageinit event. The rest are for Onsen UI 2.

  • Thx! Moving to v2 when it’s released :stuck_out_tongue_closed_eyes:

Log in to reply