tauri/.changes/api-tauri-event-file-drop-rename.md
Amr Bashir 16e550ec15
refactor(core): add webview events (#8844)
* refactor(core): add webview events

* license header

* clippy

* fix doctests

* more doctests

* fix JS `listen` with `EventTarget::Any`

* typo

* update module import

* clippy

* remove console.log

* fix api example

* fix documentation for emiTo [skip ci]

* actually add RunEvent::WebviewEvent

* update migration

* lint

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-02-16 08:07:39 -03:00

313 B

@tauri-apps/api
patch:breaking

Renamed the following enum variants of TauriEvent enum:

  • TauriEvent.WEBVIEW_FILE_DROP -> TauriEvent.FILE_DROP
  • TauriEvent.WEBVIEW_FILE_DROP_HOVER -> TauriEvent.FILE_DROP_HOVER
  • TauriEvent.WEBVIEW_FILE_DROP_CANCELLED -> TauriEvent.FILE_DROP_CANCELLED