mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
Add events README.md
This commit is contained in:
parent
1ce83913bd
commit
24853a7e3b
1 changed files with 14 additions and 0 deletions
14
v3/pkg/events/README.md
Normal file
14
v3/pkg/events/README.md
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Events
|
||||
|
||||
This package is used to generate the event management code and to allow quick addition of events.
|
||||
|
||||
## Usage
|
||||
|
||||
1. Add events to `events.txt`
|
||||
2. Run `task generate:events`
|
||||
|
||||
## Notes
|
||||
|
||||
For events that you want to handle manually, add a `!` to the end of the event name and
|
||||
add custom code into the appropriate platform. See [this PR](https://github.com/wailsapp/wails/pull/2991)
|
||||
for an example of how to do this.
|
||||
Loading…
Add table
Add a link
Reference in a new issue