@tauri-apps/api@2.0.0-beta.0
New Features
74a2a603
(#8661) Implement access control list for IPC usage.a093682d
(#8621) AddedemitTo
api toevent
module which is equivalent to the rustemit_to
method. Also addedemitTo
method onWindow
,Webivew
andWebviewWindow
classes.a2fc3a63
(#8657) AddvisibleOnAllWorkspaces
option when creating the window in JS andWindow.setVisibleOnAllWorkspaces
method.7f033f6d
(#8537) AddWindow.startResizeDragging
.9eaeb5a8
(#8622) Addparent
option when creating a window.af610232
(#8710) AddedWindow::destroy
to force close a window.c77b4032
(#8280) Added support to multiwebview via the newwindow
andwebview
modules.
Breaking Changes
c77b4032
(#8280) Removed event callback’swindowLabel
.c77b4032
(#8280) The event target is now an object so you can target either a window or a webview.c77b4032
(#8280) Moved webview-specific APIs from theWindow
class to theWebview
class.c77b4032
(#8280) RenamedTauriEvent.WINDOW_FILE_DROP
toTauriEvent.WEBVIEW_FILE_DROP
,TauriEvent.WINDOW_FILE_DROP_HOVER
toTauriEvent.WEBVIEW_FILE_DROP_HOVER
andTauriEvent.WINDOW_FILE_DROP_CANCELLED
toTauriEvent.WEBVIEW_FILE_DROP_CANCELLED
.c77b4032
(#8280) Added back theWebviewWindow
API that exposes functionality of a window that hosts a single webview. The dedicatedWindow
andWebview
types are exposed for multiwebview features.af610232
(#8710)Window::close
now triggers a close requested event instead of forcing the window to be closed.
© 2024 Tauri Contributors. CC-BY / MIT