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!
publicaciones de 3 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.

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.

Deje un comentario

Por favor inicie sesión para agregar un comentario. ¿No es socio? Únase ya