messageevent

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func GetInterface

func GetInterface() js.Value

GetJSInterface get the JS interface of formdata

Types

type MessageEvent

type MessageEvent struct {
	event.Event
}

func NewFromJSObject

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

func (MessageEvent) Data

func (m MessageEvent) Data() (interface{}, error)

func (MessageEvent) LastEventId

func (m MessageEvent) LastEventId() (string, error)

func (MessageEvent) MessageEvent

func (m MessageEvent) MessageEvent() MessageEvent

func (MessageEvent) Origin

func (m MessageEvent) Origin() (string, error)

func (MessageEvent) Source

func (m MessageEvent) Source() (js.Value, error)

type MessageEventFrom

type MessageEventFrom interface {
	MessageEvent() MessageEvent
}

Jump to

Keyboard shortcuts

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