framework7

Open full view…

Load login page before hiding splash screen

armourer
Thu, 12 Feb 2015 15:28:26 GMT

I have seen this question already and I use the following code: --- myApp.init(); console.log("Framework7 app initialized"); myApp.mainView.loadPage({url: "./login.html", animatePages: false}); navigator.splashscreen.hide(); --- But I still see the main page for a moment. What is wrong ?

Vladimir Kharlampidi
Thu, 12 Feb 2015 17:45:46 GMT

--- setTimeout(function (){ navigator.splashscreen.hide(); }, 500);

armourer
Sun, 15 Feb 2015 11:34:28 GMT

Thanks Vladimir, it's indeed helped.