mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
feat(core): allow listening to event loop events & prevent window close (#2131)
This commit is contained in:
committed by
GitHub
parent
d69b1cf6d7
commit
8157a68af1
7
.changes/allow-prevent-window-close.md
Normal file
7
.changes/allow-prevent-window-close.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
"tauri": patch
|
||||
"tauri-runtime": patch
|
||||
"tauri-runtime-wry": patch
|
||||
---
|
||||
|
||||
Allow preventing window close when the user requests it.
|
||||
5
.changes/app-callback.md
Normal file
5
.changes/app-callback.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Add `App#run` method with callback argument (event loop event handler).
|
||||
Reference in New Issue
Block a user