progressevent

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2024 License: Apache-2.0 Imports: 6 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 the JS interface

Types

type ProgressEvent

type ProgressEvent struct {
	event.Event
}

func New

func New(typeevent string, opts ...map[string]interface{}) (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