mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 18:49:27 +08:00
.. | ||
defaults.go | ||
events_darwin.go | ||
events_darwin.h | ||
events_linux.go | ||
events_linux.h | ||
events.go | ||
events.h | ||
events.txt | ||
README.md |
Events
This package is used to generate the event management code and to allow quick addition of events.
Usage
- Add events to
events.txt
- 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
for an example of how to do this.