HTML5/Javascript: How Do We Detect When User Presses the Close (X) Button

HTML5/Javascript: How Do We Detect When User Presses the Close (X) Button

In an HTML5/Javascript app built with Encapsulator 1.0, how do we detect when the user presses the app window's Close (X) button (at the upper right corner of the window)? Is there any specific event we can listen to when the user presses the Close (X) button? Thanks!
3 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.

Hi,

I regret to tell you that there is no specific event we can listen to when the user presses the Close (X) button. The Encapsulator does not provide such an event to be handled from JS side.

Regards
William C.

Technical Support Team
Intel AppUp(SM) Developer Program
Intel AppUp(SM) center

*Other names and brands may be claimed as the property of others.

You can use jQuery and bind events to desired buttons etc.

Kommentar hinterlassen

Bitte anmelden, um einen Kommentar hinzuzufügen. Sie sind noch nicht Mitglied? Jetzt teilnehmen