Files
tauri-plugins-workspace/.changes/window-plugin-refactor.md
Amr Bashir 84133b57b8 feat(window): refactor and improvements (#426)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-08-07 13:20:17 -03:00

500 B

window, window-js
window window-js
patch patch

The window plugin is recieving a few changes to improve consistency and add new features:

  • Removed appWindow variable from JS module, use getCurrent or Window.getCurrent.
  • Removed WindowManager, WebviewWindow and WebviewHandle types and merged them into one Window type that matches the name of the rust window type.
  • Added Window.getCurrent and Window.getAll which is a convenient method for getCurrent and getAll functions.