object

package
v1.0.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 License: Apache-2.0 Imports: 6 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

Types

type Object

type Object struct {
	baseobject.BaseObject
}

Object struct

func NewFromJSObject

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

func (Object) Keys

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

func (Object) Map

func (o Object) Map() (objectmap.ObjectMap, error)

func (Object) Object_

func (o Object) Object_() Object

func (Object) Values

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

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