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

[v3 alpha] docs: add note that internal service methods are not included in generated bindings (#3982)

add note that internal service methods are not bound
This commit is contained in:
Chris Simmons 2025-01-05 14:35:14 +13:00 committed by GitHub
parent 91a99299b1
commit 98c4089d15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,7 +54,12 @@ app := application.New(application.Options{
## Optional Methods
Services can implement optional methods to hook into the application lifecycle:
Services can implement optional methods to hook into the application lifecycle.
:::note
The `OnStartup`, `OnShutdown`, and `ServeHTTP` methods are not included in the
bindings generated for a service, so they are not exposed to your frontend.
:::
### Name