Native Page Transitions equivalent to navigate("#:back")

4 posts, 1 answers
  1. David
    David avatar
    30 posts
    Member since:
    Sep 2010

    Posted 09 Jul 2015 Link to this post

    Hello -

    I'm working with the Native Page Transitions plugin, but need "back" functionality. Using the path "#:back" doesn't seem to work as it does when using navigate("#:back").

    Am I doing something wrong, or is there an equivalent when using native transitions?

    Thanks,

    David

  2. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 14 Jul 2015 Link to this post

    Hello David,

    Thank you for contacting us.

    As I am not sure that I fully understand your inquiry, could you please elaborate e bit more on the issue you are experiencing? For example, can you provide a code snippet or even better, a running AppBuilder sample that reproduces the matter? Also, do you use any 3rd party js framework in your application, like Kendo UI or jQuery? Thank you for the details in advance.

    Further, I would like to bring the Native Page Transitions plugin sample to your attention, as similar functionality can be found there. Just click the Load in AppBuilder button here. I hope it helps.

    Regards,
    Kaloyan
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
  3. David
    David avatar
    30 posts
    Member since:
    Sep 2010

    Posted 14 Jul 2015 in reply to Kaloyan Link to this post

    Hello -

    I'm not experiencing an issue, per se. I'm trying to determine if the same functionality that is present in the Kendo UI method "navigate" also exists when using the Native Page Transitions plugin.

    Specifically, the functionality in question is the "Navigate backwards to the previously visited mobile View" that is described at http://docs.telerik.com/kendo-ui/api/javascript/mobile/application#methods-navigate

    Basically, in Kendo UI, it's well documented that you can use the "app.navigate("#:back");" to (easily) navigate to the last view.

    I haven't been able to find a similar way to do this when using the Native Page Transitions plugin. Of course, I could programmatically track the last view and then call that, but if there's an easier way, I like to do that instead.

    I've come across the same question on other comments threads (blog posts, I think), but have yet to see an answer.

     

    Thanks!

    David

  4. Answer
    Martin Yankov
    Admin
    Martin Yankov avatar
    177 posts

    Posted 17 Jul 2015 Link to this post

    Hello David,

    Currently, the Native transitions plugin does not provide such functionality. You will have to handle the navigation back yourself. However, we are developing a Kendo UI Adapter which is in Beta. You can find instructions on how to use it at the bottom of the plugin page. I tested it now and it appears the adapter doesn't support Kendo UI's back button functionality yet. I will forward this to our dev team.

    Thank you for the valuable feedback.

    Regards,
    Martin Yankov
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top