mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
Add events README.md
This commit is contained in:
@@ -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.
|
||||
Reference in New Issue
Block a user