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