Manipulate window history collection

2 posts, 0 answers
  1. Gal
    Gal avatar
    2 posts
    Member since:
    Mar 2016

    Posted 13 Apr Link to this post


    I am using AppBuilder and AngualrJS.


    I wonder what would be the recommended way for manipulating the url history collection (back button).

    What I need it:

    -In some cases remove the current page from the back list.

    - In some cases to go to a different location than the previous page when clicking on back button (previous state of the same view).


    Thanks in advanced,



  2. Tsvetina
    Tsvetina avatar
    1861 posts

    Posted 18 Apr Link to this post

    Hi Gal,

    You can replace the current location from the history by another location using the replace method of the Kendo Mobile Application:

    However, modifying the history to add a location that hasn't been visited isn't possible. If you want to reflect states of a view in the history, consider appending a query parameter when performing navigation. This will produce separate entries in the navigation and you will be able to navigate through them using the back button. For example:"components/homeView/view.html?t=" + new Date().getTime());


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

Back to Top