@tauri-apps/api@2.0.0-beta.0
此内容尚不支持你的语言。
74a2a603(#8661) Implement access control list for IPC usage.a093682d(#8621) AddedemitToapi toeventmodule which is equivalent to the rustemit_tomethod. Also addedemitTomethod onWindow,WebivewandWebviewWindowclasses.a2fc3a63(#8657) AddvisibleOnAllWorkspacesoption when creating the window in JS andWindow.setVisibleOnAllWorkspacesmethod.7f033f6d(#8537) AddWindow.startResizeDragging.9eaeb5a8(#8622) Addparentoption when creating a window.af610232(#8710) AddedWindow::destroyto force close a window.c77b4032(#8280) Added support to multiwebview via the newwindowandwebviewmodules.
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 theWindowclass to theWebviewclass.c77b4032(#8280) RenamedTauriEvent.WINDOW_FILE_DROPtoTauriEvent.WEBVIEW_FILE_DROP,TauriEvent.WINDOW_FILE_DROP_HOVERtoTauriEvent.WEBVIEW_FILE_DROP_HOVERandTauriEvent.WINDOW_FILE_DROP_CANCELLEDtoTauriEvent.WEBVIEW_FILE_DROP_CANCELLED.c77b4032(#8280) Added back theWebviewWindowAPI that exposes functionality of a window that hosts a single webview. The dedicatedWindowandWebviewtypes are exposed for multiwebview features.af610232(#8710)Window::closenow triggers a close requested event instead of forcing the window to be closed.
© 2025 Tauri Contributors. CC-BY / MIT