I am working with NG Desktop client application. I need to get handle of Electron window to bind some events to get triggers when they occur.
For example:
- Code: Select all
var window = <electron window handle>; //how to get this handle?
window.on('before-quit', function(){
// logic here.
});
Any help is highly appreciated.
Regards