Page 1 of 1

Apperyio("pagename").dialog("close") gives no response

Posted: Thu Sep 18, 2014 7:11 pm
by Joseph Francis

I have a dialog in appery I need to close programmatically if background data has changed

Apperyio("pagename").dialog("close") gives no response
$("pagename").dialog("close") gives no response
Apperyio("pagename").close() gives no response

Why is there no page on the Appery website with a list of all the methods of the function "Apperyio" - it's not like it should be a secret.

I'm finding I'm spending an enormous amount of time looking for "Apperyio" or "Appery" methods, and they simply aren't documented on the main website. It's taking a lot of time to sort through "getsatisfaction" help messages and hints to find basic methods.

In this case, assuming that the completely undocumented method of Apperyio ".popup()" was equivalent to the jquery mobile ".dialog()" method, I was wrong.

1) Why isn't there a concise list of Apperyio methods on the appery.io website anywhere
2) What is the correct javascript code to close an Appery Dialog

Many thanks.


Apperyio("pagename").dialog("close") gives no response

Posted: Thu Sep 18, 2014 8:40 pm
by Evgene Karachevtsev

Hello Joseph,

1) Dialogue is a page with attribute
predata-dialog="true"/pre
http://api.jquerymobile.com/page/#opt...
You can't close the page, you can only go to previous one.

pre$.mobile.back();/pre
2) About the absence of documentation - almost all components of Apperu.io are jqm widgets. Methods and properties of the widgets are described in the documentation of jqm http://api.jquerymobile.com/category/...


Apperyio("pagename").dialog("close") gives no response

Posted: Mon Sep 22, 2014 4:10 pm
by Fred McIntyre

Which is correct: Apperyio or Appery ?

At http://devcenter.appery.io/documentat...
there is a heading:
Appery.navigateTo(page, {})

But in the explanation just below, it has the example:
Apperyio.navigateTo('menuPage', {});

Are they interchangeable? If not, how do we know which one to use where?


Apperyio("pagename").dialog("close") gives no response

Posted: Mon Sep 22, 2014 4:27 pm
by Kateryna Grynko

Hi Fred,

Thank you for a good question!

They are interchangeable. We recommend that you use codeApperyio/code as it is more correct and codeAppery/code may deprecate one day.


Apperyio("pagename").dialog("close") gives no response

Posted: Mon Sep 22, 2014 4:31 pm
by Fred McIntyre

Of course, I assume, updating the documentation is on the "to-do" list!


Apperyio("pagename").dialog("close") gives no response

Posted: Mon Sep 22, 2014 4:36 pm
by Kateryna Grynko

Hi Fred,

Sure, when the time comes :)