animationevent

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ErrNotImplemented ErrNotImplemented error
	ErrNotImplemented      = errors.New("Browser not implemented AnimationEvent")
	ErrNotAnAnimationEvent = errors.New("Object is not an AnimationEvent")
)

Functions

func GetInterface

func GetInterface() js.Value

GetInterface get the JS interface animationEvent

Types

type AnimationEvent

type AnimationEvent struct {
	event.Event
}

AnimationEvent AnimationEvent struct

func NewFromJSObject

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

func (AnimationEvent) AnimationEvent_

func (a AnimationEvent) AnimationEvent_() AnimationEvent

func (AnimationEvent) AnimationName

func (a AnimationEvent) AnimationName() (string, error)

func (AnimationEvent) ElapsedTime

func (a AnimationEvent) ElapsedTime() (float64, error)

func (AnimationEvent) PseudoElement

func (a AnimationEvent) PseudoElement() (string, error)

type AnimationEventFrom

type AnimationEventFrom interface {
	AnimationEvent() AnimationEvent
}

Jump to

Keyboard shortcuts

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