object

package
v0.0.1-beta Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotAnObject    = errors.New("The given value must be a Object")
	ErrNotImplemented = errors.New("Browser not implemented Object")
)

Functions

func GetInterface

func GetInterface() js.Value

GetInterface get teh JS interface of broadcast channel

func Keys

func Keys(o Object) (array.Array, error)

func Values

func Values(o Object) (array.Array, error)

Types

type Object

type Object struct {
	baseobject.BaseObject
}

Object struct

func NewFromJSObject

func NewFromJSObject(obj js.Value) (Object, error)

func (Object) Object

func (o Object) Object() Object

type ObjectFrom

type ObjectFrom interface {
	Object() Object
}

Jump to

Keyboard shortcuts

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