How to reload or refresh the page?
I have a page with a list, and by clicking a button, the page should be reloaded/refreshed or pageshow event should be fired.
Because in the pageshow event, a service is called, and the list is populated.
Clicking the button sets a localstorage variable that is used by the service.
So clicking the button should show the page with the result of the new service request. I do not want to do service.execute, because other things are also happening in the pageshow event that should also be repeated.
I tried Appery.navigateTo('thisPage'); and also Appery('thisPage').trigger('pageshow') , but nothing happens.