title: Execute Javascript function oninit in Framework7 on index page - Cordova
body: <p>On the app start I want to execute a JavaScript Function. </p>
  
  <p>I tried to work on this with index as having - data-page="index" and using below function:</p>
  
  <pre><code>myApp.onPageInit('index', function (page) {
    // "page" variable contains all required information about loaded and initialized page 
  })
  </code></pre>
  
  <p>But this function doesn't work when the application is just started.</p>