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

Imagen de FlipOne
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.
Imagen de William Chavarria Cole (Intel)

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.

Imagen de Ozkan Altuner

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

Inicie sesión para dejar un comentario.