5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-10 09:21:54 +08:00
wails/v3/internal/runtime/desktop
Travis McLane cfe2424f4d
WindowDidMove / WindowDidResize events for Linux and Windows
* [linux] emit system specific event for theme change

Code was incorrectly emitting the `events.Common.ThemeChanged` event
instead of the OS Specific `events.Linux.SystemThemeChanged` event.
It is the reponsibility of the code in events_common_linux.go to map
it to the common variety.

* [linux] implement WindowDidMove

* [linux] implement debounce for WindowDidMove

* [example] listen for events.Common.WindowDidMove

* [windows] move WindowDidMove mapper outside of DnD guard

* WindowDidResize implementation

* windows: WindowDidResize

* chore: changelog update

* events.Common.WindowDidMove and events.Common.WindowDidResize
2024-06-30 16:11:45 -05:00
..
@wailsio/runtime WindowDidMove / WindowDidResize events for Linux and Windows 2024-06-30 16:11:45 -05:00
compiled [v3] Update and fix runtime JS API (#3295) 2024-03-20 20:30:14 +11:00
README.md Radical JS runtime overhaul. New @wailsio/runtime package 2023-12-28 19:18:26 +11:00

README

The main.js file in this directory is the entrypoint for the runtime.js file that may be loaded at runtime. This will add window.wails and window._wails to the global scope.

NOTE: It is preferable to use the @wailsio/runtime package to use the runtime.

After updating any files in this directory, you must run wails3 task build:runtime to regenerate the compiled JS.