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.
 

32 lines
1.3 KiB

// Code generated DO NOT EDIT
// requestdestination.go
package dom
import "syscall/js"
type RequestDestination string
const (
RequestDestinationEmpty RequestDestination = "Empty"
RequestDestinationAudio RequestDestination = "audio"
RequestDestinationAudioworklet RequestDestination = "audioworklet"
RequestDestinationDocument RequestDestination = "document"
RequestDestinationEmbed RequestDestination = "embed"
RequestDestinationFont RequestDestination = "font"
RequestDestinationImage RequestDestination = "image"
RequestDestinationManifest RequestDestination = "manifest"
RequestDestinationObject RequestDestination = "object"
RequestDestinationPaintworklet RequestDestination = "paintworklet"
RequestDestinationReport RequestDestination = "report"
RequestDestinationScript RequestDestination = "script"
RequestDestinationSharedworker RequestDestination = "sharedworker"
RequestDestinationStyle RequestDestination = "style"
RequestDestinationTrack RequestDestination = "track"
RequestDestinationVideo RequestDestination = "video"
RequestDestinationWorker RequestDestination = "worker"
RequestDestinationXslt RequestDestination = "xslt"
)
func JSValueToRequestDestination(val js.Value) RequestDestination {
return RequestDestination(val.String())
}