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 posts / novo 0
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.

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.

Deixar um comentário

Faça login para adicionar um comentário. Não é membro? Inscreva-se hoje mesmo!