mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 22:55:48 +01:00
- disable output of `import <model> from models` line - update README to generate bindings in usable location for HTML - update HTML to reference bindings correctly - update javascript to call and process the bound Greet function
521 B
521 B
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.