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.
 

29 lines
853 B

// Code generated DO NOT EDIT
// texttrackcuelist.go
package dom
import "syscall/js"
type TextTrackCueListIFace interface {
GetCueById(args ...interface{}) TextTrackCue
GetLength() int
}
type TextTrackCueList struct {
Value
}
func JSValueToTextTrackCueList(val js.Value) TextTrackCueList {
return TextTrackCueList{Value: JSValueToValue(val)}
}
func (v Value) AsTextTrackCueList() TextTrackCueList { return TextTrackCueList{Value: v} }
func NewTextTrackCueList(args ...interface{}) TextTrackCueList {
return TextTrackCueList{Value: JSValueToValue(js.Global().Get("TextTrackCueList").New(args...))}
}
func (t TextTrackCueList) GetCueById(args ...interface{}) TextTrackCue {
val := t.Call("getCueById", args...)
return JSValueToTextTrackCue(val.JSValue())
}
func (t TextTrackCueList) GetLength() int {
val := t.Get("length")
return val.Int()
}