feat(core): allow listening to event loop events & prevent window close (#2131)

This commit is contained in:
Lucas Fernandes Nogueira
2021-07-06 13:36:37 -03:00
committed by GitHub
parent d69b1cf6d7
commit 8157a68af1
12 changed files with 169 additions and 56 deletions

View 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
View File

@@ -0,0 +1,5 @@
---
"tauri": patch
---
Add `App#run` method with callback argument (event loop event handler).