wails
wails copied to clipboard
is there any event that can notice click window close button, so that can comfirm wether exit or not exit
Is your feature request related to a problem? Please describe.
When I click the close button of the form, the application exits directly. I want to confirm again when exiting. The confirmation style is written by the front end. Now we can only add the OnBeforeClose method to the code.
Describe the solution you'd like
Add a close event in js to facilitate confirmation again
Describe alternatives you've considered
No response
Additional context
No response