Data Transitions

2 posts, 0 answers
  1. Ganesh
    Ganesh avatar
    5 posts
    Member since:
    Jul 2015

    Posted 11 Jan Link to this post

    Hi,

     

    Is it possible to change data-transition value dynamically at view level or tabstrip elements ?

  2. Tsvetina
    Admin
    Tsvetina avatar
    1873 posts

    Posted 14 Jan Link to this post

    Hello Ganesh,

    You can set a transition dynamically, upon navigation, by passing the transition name as a second argument in the Application navigate method:

    <div data-role="view" id="foo"><a data-role="button" data-click="navigateToSettings">Bar</a></div>
    <div data-role="view" id="settings">Settings</div>
     
    <script>
        var app = new kendo.mobile.Application();
     
        function navigateToSettings() {
            app.navigate("#settings", "slide");
        }
    </script>


    Regards,
    Tsvetina
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top