diff --git a/website/docs/reference/options.mdx b/website/docs/reference/options.mdx index ebbd2665..1c92205a 100644 --- a/website/docs/reference/options.mdx +++ b/website/docs/reference/options.mdx @@ -36,6 +36,7 @@ func main() { OnStartup: app.startup, OnDomReady: app.domready, OnShutdown: app.shutdown, + WindowStartState: options.Maximised, Bind: []interface{}{ app, }, @@ -258,6 +259,20 @@ Type: func(ctx context.Context) This callback is called after the frontend has been destroyed, just before the application terminates. It is given the application context. +### WindowStartState + +Name: WindowStartState + +Type: options.WindowStartState + +Defines how the window should present itself at startup. + +| Value | Win | Mac | +| --------------- | --- | --- | +| Fullscreen | ✅ | ✅ | +| Maximised | ✅ | ✅ | +| Minimised | ✅ | | + ### Bind Name: Bind @@ -452,3 +467,4 @@ When clicked, that will open an about message box:
+