mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
update wml events to be parseable (#2561)
* update wml events to be parseable * [v3] Rename `CustomEvent` to `WailsEvent` to prevent clashing with the standard JS `CustomEvent` object --------- Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
This commit is contained in:
co-authored by
Lea Anthony
parent
9574bfc054
commit
a7bf359930
@@ -34,7 +34,7 @@ func main() {
|
||||
URL: "/",
|
||||
})
|
||||
|
||||
app.Events.On("clicked", func(_ *application.CustomEvent) {
|
||||
app.Events.On("clicked", func(_ *application.WailsEvent) {
|
||||
println("clicked")
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user