wails icon indicating copy to clipboard operation
wails copied to clipboard

is there any event that can notice click window close button, so that can comfirm wether exit or not exit

Open ricetree opened this issue 9 months ago • 0 comments

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

ricetree avatar Mar 08 '25 10:03 ricetree