Page 1 of 1

Can I pass a query-string parameter when using Appery.navigateTo()

Posted: Fri Sep 25, 2015 11:53 pm
by Dongzhi Yang7528784

Hi Team,

Is there a way to pass a query string parameter(like the ?param=value, in a URL) when using Appery.navigateTo()?
And how may I retrieve the parameter in the new page?

I don't want to use the localStorage to pass information between pages because that's polluting the local storage space.

Thanks!

Dongzhi


Can I pass a query-string parameter when using Appery.navigateTo()

Posted: Mon Sep 28, 2015 7:15 am
by Serhii Kulibaba

Hello Dongzi,

Sure, it is possible. But you have to use your custom code for that logic, based on window.location.href method and read URL parameters like it is shown here: https://css-tricks.com/snippets/javas...