navigator

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ErrNotImplemented ErrNotImplemented error
	ErrNotImplemented = errors.New("Browser not implemented Navigator")
	ErrNotANavigator  = errors.New("Object is not a Navigator")
)

Functions

func GetInterface

func GetInterface() js.Value

GetInterface get the JS interface of formdata

Types

type Navigator struct {
	baseobject.BaseObject
}

func NewFromJSObject

func NewFromJSObject(obj js.Value) (Navigator, error)
func (n Navigator) Clipboard() (clipboard.Clipboard, error)
func (n Navigator) CookieEnabled() (bool, error)
func (n Navigator) DeviceMemory() (float64, error)
func (n Navigator) HardwareConcurrency() (int, error)
func (n Navigator) JavaEnabled() (bool, error)
func (n Navigator) Language() (string, error)
func (n Navigator) Navigator_() Navigator
func (n Navigator) Permissions() (permissions.Permissions, error)
func (n Navigator) UserAgent() (string, error)
func (n Navigator) Vendor() (string, error)
type NavigatorFrom interface {
	Navigator_() Navigator
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL