github.com/secoba/wails/v2@v2.6.4/pkg/options/mac/preferences.go (about)

     1  package mac
     2  
     3  import "github.com/leaanthony/u"
     4  
     5  var (
     6  	Enabled  = u.True
     7  	Disabled = u.False
     8  )
     9  
    10  // Preferences allows to set webkit preferences
    11  type Preferences struct {
    12  	// A Boolean value that indicates whether pressing the tab key changes the focus to links and form controls.
    13  	// Set to false by default.
    14  	TabFocusesLinks u.Bool
    15  	// A Boolean value that indicates whether to allow people to select or otherwise interact with text.
    16  	// Set to true by default.
    17  	TextInteractionEnabled u.Bool
    18  	// A Boolean value that indicates whether a web view can display content full screen.
    19  	// Set to false by default
    20  	FullscreenEnabled u.Bool
    21  }