Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Navigation Between Pages in Phonegap onsenui

    • 0
    • 1
    • 1
    • 1
    • 0
    • 0
    • 0
    • 0
    • 715
    Comment on it
       <ons-page class="center">
            <h1>My First Page</h1>
            <ons-button 
                ng-click="ons.navigator.pushPage('secondPage.html')">
                Push My second Page
            </ons-button>
        </ons-page>
    </ons-navigator>
    
    
    <ons-page class="center">
      <ons-navigator-toolbar 
        title="firstpage" 
        right-button-icon="fa fa-lg fa-angle-right" 
        on-right-button-click="ons.navigator.pushPage('firstpage.html')">      
      </ons-navigator-toolbar>
    
    </ons-page>
    

    Here ng-click is invokes the ons.navigator.pushPage method which Takes the link of the next page as parameter. It will navigate between the secondPage.html and firstpage.html

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: