func (this *SupportedType) JSValue() js.Value {
	return js.ValueOf(this.Value())
}
JSValue is converting this enum into a javascript object
package parser
import js "github.com/gowebapi/webapi/core/js"
import (
	"github.com/gowebapi/webapi"
	"github.com/gowebapi/webapi/dom"
)
func unused(value interface{}) {
}
type Union struct {
	Value js.Value
}
func (u *Union) JSValue() js.Value {
	return u.Value
}
func UnionFromJS(value js.Value) *Union {
	return &Union{Value: value}
}
type SupportedType int
const (
	TextHtmlSupportedType SupportedType = iota
	TextXmlSupportedType
	ApplicationXmlSupportedType
	ApplicationXhtmlXmlSupportedType
	ImageSvgXmlSupportedType
)
var supportedTypeToWasmTable = []string{
	"text/html", "text/xml", "application/xml", "application/xhtml+xml", "image/svg+xml",
}
var supportedTypeFromWasmTable = map[string]SupportedType{
	"text/html": TextHtmlSupportedType, "text/xml": TextXmlSupportedType, "application/xml": ApplicationXmlSupportedType, "application/xhtml+xml": ApplicationXhtmlXmlSupportedType, "image/svg+xml": ImageSvgXmlSupportedType,
}