framework7

Open full view…

loadPage no-animation broken with .9.6

Dux
Sat, 20 Sep 2014 16:07:54 GMT

loadPage(some url, FALSE) dont disable the page animation with 0.9.6

Dux
Sat, 20 Sep 2014 19:02:18 GMT

mainView.loadPage('some URL', {animatePages:false}) dont work too

Vladimir Kharlampidi
Sat, 20 Sep 2014 19:40:08 GMT

Everything is working fine, look at the docs here http://www.idangero.us/framework7/docs/views.html#view-navigation-methods

Dux
Sat, 20 Sep 2014 19:53:36 GMT

with 0.9.5 I wrote my loadPage like this : mainView.loadPage(some url, FALSE) page was loaded without animation After updating to 0.9.6, the same code dont cancel the page animation. how can I write mainView.loadPage(some url, NO-ANIMATION) for a mainView initialized without parameter animatePages: false ?

Vladimir Kharlampidi
Sat, 20 Sep 2014 19:55:34 GMT

Ok, let's read docs together :) It says: --- mainView.loadPage(options) - load required page to view. Each of these methods accepts options object with the following properties: ... --- So if you need to load page without animation you need to pass an object with props, right? I guess, it should be: --- mainView.loadPage({url: '...', animatePages: false})

Dux
Sat, 20 Sep 2014 20:00:15 GMT

My bad :) that work with this method with .9.6 Thank you