How to load a page using Javascript instead of selecting event type in designer? I assume there is some function to load a certain page or dialog but can't find it.
How to load a page using Javascript instead of selecting event type in designer? I assume there is some function to load a certain page or dialog but can't find it.
I got it. Appery.navigateTo('menuPage', {});
Then, any way to launch a dialog?
Hi Geliz,
Yes you are right.
To load certain page you can use JS code:
pre
//Note you need to replace "pageName" with your page name.
Apperyio.navigateTo("pageName", {});
/pre
To load certain dialog page you can use JS code:
pre
//Note you need to replace "dialogPageName" with your dialog page name.
Apperyio.navigateTo("dialogPageName", {});
/pre
So as you can see - the code for both cases are the same.
Regards.