mirror of
https://github.com/wavetermdev/wails.git
synced 2026-04-22 15:26:15 -07:00
b37d0f1cf4
Make sure the webview is focused on initial show if the window is focused and make behaviour consistent with macOS
Bindings Example
This example demonstrates how to generate bindings for your application.
To generate bindings, run wails3 generate bindings -d assets in this directory.
See more options by running wails3 generate bindings --help.
Notes
- The bindings generator is still a work in progress and is subject to change.
- The generated code uses
wails.CallByIDby default. This is the most secure and quickest way to call a function. In a future release, we will look at generatingwails.CallByNametoo.