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.
 

19 lines
493 B

// Code generated DO NOT EDIT
// texttrackkind.go
package dom
import "syscall/js"
type TextTrackKind string
const (
TextTrackKindSubtitles TextTrackKind = "subtitles"
TextTrackKindCaptions TextTrackKind = "captions"
TextTrackKindDescriptions TextTrackKind = "descriptions"
TextTrackKindChapters TextTrackKind = "chapters"
TextTrackKindMetadata TextTrackKind = "metadata"
)
func JSValueToTextTrackKind(val js.Value) TextTrackKind {
return TextTrackKind(val.String())
}