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
549 B

// Code generated DO NOT EDIT
// supportedtype.go
package dom
import "syscall/js"
type SupportedType string
const (
SupportedTypeTextHtml SupportedType = "text/html"
SupportedTypeTextXml SupportedType = "text/xml"
SupportedTypeApplicationXml SupportedType = "application/xml"
SupportedTypeApplicationXhtmlXml SupportedType = "application/xhtml+xml"
SupportedTypeImageSvgXml SupportedType = "image/svg+xml"
)
func JSValueToSupportedType(val js.Value) SupportedType {
return SupportedType(val.String())
}