Thank you for your continuous support.
When I set OnsenUI to the latest v1.2.2, pushPage with the following code no longer works.
TypeError: Cannot read property 'pushPage' of undefined
The error appears (it worked in v1.2.1 by the way).
It works, but I don't want to specify the name of the navigator like "app.navi" because I want to use the same child page for multiple navigators.
Please tell me how to deal with it.I look forward to your kind cooperation.
index.html (late head)
Recent versions of Onsen UI no longer support the description
ons.navigator.Therefore, I think you can solve this problem by explicitly specifying the
var attribute of
<ons-navigator> and calling the
It is not a problem to use the same child page in multiple navigators.
Conversely, multiple navigators can define the same name.
© 2022 OneMinuteCode. All rights reserved.