This is a migrated thread and some comments may be shown as answers.

Disable view transitions (from javascript)

1 Answer 207 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andreas
Top achievements
Rank 1
Andreas asked on 14 Mar 2013, 12:42 PM
Hi!

Given this code:
var rightpane = $("#rightPane").data("kendoMobilePane");
rightpane.navigate("#start", "fade");

How do I disable transition? Because default is slide:left yes? I want no transition.

In this post:
http://www.kendoui.com/forums/mobile/application/cosmetic-scrolling-problem-during-view-transitions-ios.aspx#Ou2dAxlhfUuErfuR-LvfcQ
Petyo writes "If this is a critical issue for your application, you may consider disabling the transition for the view in question"

How is it done? Thank you

1 Answer, 1 is accepted

Sort by
0
Accepted
Alexander Valchev
Telerik team
answered on 18 Mar 2013, 12:31 PM
Hi Andreas,

To navigate without transition, please pass "none" as a second parameter of the navigate method.
var rightpane = $("#rightPane").data("kendoMobilePane");
rightpane.navigate("#start", "none");

This will switch the views immediately without transition.

Kind regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
General Discussions
Asked by
Andreas
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or