Open tomcl opened 4 years ago
catching events in electron main process will make any electron app nicer. Specifically:
display a solid color in window during startup, do not display anything till ready-to-show is emitted https://www.christianengvall.se/electron-white-screen-app-startup/
catch window cancel and if there is unsaved data query whether this is wanted. https://stackoverflow.com/questions/48408014/electron-catch-when-window-is-closed-using-the-x-button
(Visual2 has some examples of this using javascript / F#)
catching events in electron main process will make any electron app nicer. Specifically:
display a solid color in window during startup, do not display anything till ready-to-show is emitted https://www.christianengvall.se/electron-white-screen-app-startup/
catch window cancel and if there is unsaved data query whether this is wanted. https://stackoverflow.com/questions/48408014/electron-catch-when-window-is-closed-using-the-x-button
(Visual2 has some examples of this using javascript / F#)