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:
parent
91a99299b1
commit
98c4089d15
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user