ons-page


  • Onsen UI

    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’;


  • Onsen UI

    @ajaxray Thanks, it’s fixed!


Log in to reply