From 6dcee51940703cfe38669e435d8d31f745e961a0 Mon Sep 17 00:00:00 2001 From: misitebao Date: Sun, 5 Dec 2021 01:05:44 +0800 Subject: [PATCH] docs: optimize english documents --- website/docs/community/links.mdx | 15 ++++++++------- website/docs/reference/options.mdx | 9 +++++++++ 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/website/docs/community/links.mdx b/website/docs/community/links.mdx index 15db12cc..348080b4 100644 --- a/website/docs/community/links.mdx +++ b/website/docs/community/links.mdx @@ -7,17 +7,18 @@ sidebar_position: 2 This page serves as a list for community related links. Please submit a PR (click `Edit this page` at the bottom) to submit links. -# Awesome Wails +## Awesome Wails -The [definitive list](https://github.com/wailsapp/wails) of links related to Wails. +The [definitive list](https://github.com/wailsapp/awesome-wails) of links related to Wails. ## Support Channels - - [Gophers Slack Channel](https://gophers.slack.com/messages/CJ4P9F7MZ/) - - [Gophers Slack Channel Invite](https://invite.slack.golangbridge.org/) - - [Github Issues](https://github.com/wailsapp/wails/issues) - - [v2 Beta Discussion Board](https://github.com/wailsapp/wails/discussions/828) +- [Gophers Slack Channel](https://gophers.slack.com/messages/CJ4P9F7MZ/) +- [Gophers Slack Channel Invite](https://invite.slack.golangbridge.org/) +- [Github Issues](https://github.com/wailsapp/wails/issues) +- [v2 Beta Discussion Board](https://github.com/wailsapp/wails/discussions/828) ## Social Media - - [Twitter](https://twitter.com/wailsapp) \ No newline at end of file +- [Twitter](https://twitter.com/wailsapp) +- [Wails Chinese Community QQ Group](https://qm.qq.com/cgi-bin/qm/qr?k=PmIURne5hFGNd7QWzW5qd6FV-INEjNJv&jump_from=webapi) - 群号:1067173054 diff --git a/website/docs/reference/options.mdx b/website/docs/reference/options.mdx index 4af7a330..e2ad366c 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, + OnBeforeClose: app.beforeClose, WindowStartState: options.Maximised, Bind: []interface{}{ app, @@ -315,6 +316,14 @@ Type: \*windows.Options This defines [Windows specific options](#windows-specific-options). +### Mac + +Name: Mac + +Type: \*mac.Options + +This defines [Mac specific options](#mac-specific-options). + ## Windows Specific Options ### WebviewIsTransparent