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.
ons-page
-
This component defines the root of each page. If the content is large it will become scrollable. A navigation bar can be added to the top of the page using the
<ons-toolbar>
element.Click here to see the original article
-
In 2nd Step of the tutorial on this page, in “script tag directly inside the page” example, there has a typo in the code example.
Current: this.querySelector(‘ons-toolbar .center’) = ‘Title’;
Should be: this.querySelector(‘ons-toolbar .center’).innerHTML = ‘Title’;
-
@ajaxray Thanks, it’s fixed!
-
Error shows when i call the ons-page. How to resolve it.
Uncaught (in promise) TypeError: page._show is not a function