progressevent

package
v1.0.0-rc6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotImplemented = errors.New("Browser not implemented ProgressEvent")
	//ErrNotAnEventTarget ErrNotAnEventTarget error
	ErrNotAnProgressEvent = errors.New("Object is not a Progress Event")
)

Functions

func GetInterface

func GetInterface() js.Value

GetInterface get teh JS interface of broadcast channel

Types

type ProgressEvent

type ProgressEvent struct {
	event.Event
}

func New

func New() (ProgressEvent, error)

func NewFromJSObject

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

func (ProgressEvent) LengthComputable

func (p ProgressEvent) LengthComputable() (bool, error)

func (ProgressEvent) Loaded

func (p ProgressEvent) Loaded() (int, error)

func (ProgressEvent) ProgressEvent_

func (p ProgressEvent) ProgressEvent_() ProgressEvent

func (ProgressEvent) Total

func (p ProgressEvent) Total() (int, error)

type ProgressEventFrom

type ProgressEventFrom interface {
	ProgressEvent_() ProgressEvent
}

Jump to

Keyboard shortcuts

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