@tauri-apps/api@2.0.0-beta.15
080b6e127(#10246 by @Legend-Master) UseEventNameonWindow,WebviewandWebviewWindow’sonceso you can get auto complete for tauri’s built-in events
080b6e127(#10246 by @Legend-Master) Fixoncedoesn’t detached after one callback if event handler throws
-
261c9f942(#10170 by @amrbashir) Renamed drag and drop events inTauriEventenum to better convey when they are triggered:TauriEvent.DRAG->TauriEvent.DRAG_ENTERTauriEvent.DROP_OVER->TauriEvent.DRAG_OVERTauriEvent.DROP->TauriEvent.DRAG_DROPTauriEvent.DROP_CANCELLED->TauriEvent::DRAG_LEAVE
Also the
typefield values inWindow/Webview/WebviewWindow.onDropEventandDragDropEventhave changed:dragged->enterdragOver->overdropped->dropcancelled->leave
-
2b1ceb40d(#10229 by @amrbashir) Renamed the JSgetCurrentandgetAllfunctions to a clearer name to avoid ambiguity:getCurrentinwindowmodule has been renamed togetCurrentWindowgetCurrentinwebviewmodule has been renamed togetCurrentWebviewgetCurrentinwebviewWindowmodule has been renamed togetCurrentWebviewWindowgetAllinwindowmodule has been renamed togetAllWindowsgetAllinwebviewmodule has been renamed togetAllWebviewsgetAllinwebviewWindowmodule has been renamed togetAllWebviewWindows
© 2025 Tauri Contributors. CC-BY / MIT