5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 05:11:29 +08:00

Update v3 changes

This commit is contained in:
Lea Anthony 2023-02-06 20:45:50 +11:00
parent 00ee79ecdc
commit cd1e3f5bb0
No known key found for this signature in database
GPG Key ID: 33DAF7BB90A58405

View File

@ -45,6 +45,8 @@ When emitting an event in JS, it now sends the event to the application. This wi
The Window API has largely remained the same, however there are a few changes to note.
- Windows now have a Name that identifies them. This is used to identify the window when emitting events.
## ClipBoard
The clipboard API has been simplified. There is now a single `Clipboard` object that can be used to read and write to the clipboard. The `Clipboard` object is available in both Go and JS. `SetText()` to set the text and `Text()` to get the text.