Web API package for use when compling Go to WASM
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

40 lines
978 B

// Code generated DO NOT EDIT
// trackevent.go
package dom
import "syscall/js"
type TrackEventIFace interface {
GetBubbles() bool
GetCancelBubble() bool
SetCancelBubble(bool)
GetCancelable() bool
GetComposed() bool
ComposedPath(args ...interface{})
GetCurrentTarget() EventTarget
GetDefaultPrevented() bool
GetEventPhase() int
InitEvent(args ...interface{})
GetIsTrusted() bool
PreventDefault(args ...interface{})
GetReturnValue() bool
SetReturnValue(bool)
GetSrcElement() EventTarget
StopImmediatePropagation(args ...interface{})
StopPropagation(args ...interface{})
GetTarget() EventTarget
GetTimeStamp() DOMHighResTimeStamp
GetTrack()
GetType() string
}
type TrackEvent struct {
Value
Event
}
func JSValueToTrackEvent(val js.Value) TrackEvent { return TrackEvent{Value: Value{Value: val}} }
func (v Value) AsTrackEvent() TrackEvent { return TrackEvent{Value: v} }
func (t TrackEvent) GetTrack() Value {
val := t.Get("track")
return val
}