5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-06 12:41:55 +08:00
wails/v3/examples/binding
Lea Anthony b325381ca0 Normalise app/webview options
Update deps
2024-03-17 20:57:46 +11:00
..
assets Add BundledAssetFileServer for bundled /wails/runtime.js. Update examples. 2024-03-17 15:08:30 +11:00
go.mod Normalise app/webview options 2024-03-17 20:57:46 +11:00
go.sum Normalise app/webview options 2024-03-17 20:57:46 +11:00
GreetService.go Update bindings example 2023-09-04 21:01:00 +10:00
main.go Add BundledAssetFileServer for bundled /wails/runtime.js. Update examples. 2024-03-17 15:08:30 +11:00
models.ts [v3] Move to integer call ids for bound methods. 2023-08-19 14:25:36 +10:00
README.md [v3 examples/bindings] correct binding output + example 2023-10-31 17:24:00 -05:00

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.CallByID by default. This is the most secure and quickest way to call a function. In a future release, we will look at generating wails.CallByName too.