tauri/.changes/tray-icon-event.md
Amr Bashir c4410daa85
feat(tray): add enter, move and leave events (#9777)
* feat(tray): add `enter`, `move` and `leave` events

closes #8584

* update api example

* check button state [skip ci]

* fix enum [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-05-24 14:56:32 -03:00

383 B

tauri @tauri-apps/api
patch:breaking patch:breaking

This release contains breaking changes to the tray event structure because of newly added events:

  • Changed TrayIconEvent to be an enum instead of a struct.
  • Added MouseButtonState and MouseButton enums.
  • Removed ClickType enum and replaced it with MouseButton enum.
  • Added MouseButtonState enum.