// 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: Value{Value: val}} } func (v Value) AsTextTrackCueList() TextTrackCueList { return TextTrackCueList{Value: v} } 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() }