Update domReady comment in templates + website

This commit is contained in:
Lea Anthony
2022-03-14 22:48:32 +11:00
parent 9c5600d8f3
commit 8aea6a3bfc
4 changed files with 4 additions and 4 deletions
@@ -21,7 +21,7 @@ func (a *App) startup(ctx context.Context) {
a.ctx = ctx
}
// domReady is called after the front-end dom has been loaded
// domReady is called after front-end resources have been loaded
func (a App) domReady(ctx context.Context) {
// Add your action here
}
@@ -21,7 +21,7 @@ func (a *App) startup(ctx context.Context) {
a.ctx = ctx
}
// domReady is called after the front-end dom has been loaded
// domReady is called after front-end resources have been loaded
func (a App) domReady(ctx context.Context) {
// Add your action here
}
@@ -21,7 +21,7 @@ func (a *App) startup(ctx context.Context) {
a.ctx = ctx
}
// domReady is called after the front-end dom has been loaded
// domReady is called after front-end resources have been loaded
func (a App) domReady(ctx context.Context) {
// Add your action here
}
+1 -1
View File
@@ -252,7 +252,7 @@ Name: OnDomReady
Type: func(ctx context.Context)
This callback is called after the frontend has loaded `index.html` and the DOM is ready. It is given
This callback is called after the frontend has loaded `index.html` and its resources. It is given
the application context.
### OnShutdown