[positioner] handleIconState in JS (#1822)

* [positioner] handleIconState in JS

* update readme

* fix change file version

* fixes

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
This commit is contained in:
Jacob Bolda
2024-10-01 08:15:22 -05:00
committed by GitHub
parent 30bcf5dcc2
commit 2f7e32b5e0
11 changed files with 103 additions and 6 deletions
@@ -0,0 +1,6 @@
---
"positioner": patch
"positioner-js": patch
---
`handleIconState` function for use in JavaScript event handlers. This allows one to update the TrayIcon state through JavaScript and fully create and handle the TrayIcon without requiring Rust (and the side-effect of creating a TrayIcon).