mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 19:19:15 +08:00

* [v2 mac] add fullscreen option to preference * update changelog * replace space by tabs
20 lines
633 B
Go
20 lines
633 B
Go
package mac
|
|
|
|
import "github.com/leaanthony/u"
|
|
|
|
var Enabled = u.True
|
|
var Disabled = u.False
|
|
|
|
// Preferences allows to set webkit preferences
|
|
type Preferences struct {
|
|
// A Boolean value that indicates whether pressing the tab key changes the focus to links and form controls.
|
|
// Set to false by default.
|
|
TabFocusesLinks u.Bool
|
|
// A Boolean value that indicates whether to allow people to select or otherwise interact with text.
|
|
// Set to true by default.
|
|
TextInteractionEnabled u.Bool
|
|
// A Boolean value that indicates whether a web view can display content full screen.
|
|
// Set to false by default
|
|
FullscreenEnabled u.Bool
|
|
}
|