5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-05 07:00:39 +08:00
wails/v3/examples/binding
2023-12-16 20:57:00 +11:00
..
assets Update bindings example 2023-12-16 20:57:00 +11:00
bindings_main.js [v3 examples/bindings] correct binding output + example 2023-10-31 17:24:00 -05:00
go.mod Update bindings example 2023-12-16 20:57:00 +11:00
go.sum Update bindings example 2023-12-16 20:57:00 +11:00
GreetService.go Update bindings example 2023-09-04 21:01:00 +10:00
main.go [v3 example/bindings] enable DevTools 2023-10-31 17:15:16 -05: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.