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.
 

17 lines
505 B

// Code generated DO NOT EDIT
// offscreenrenderingcontextid.go
package dom
import "syscall/js"
type OffscreenRenderingContextId string
const (
OffscreenRenderingContextId2d OffscreenRenderingContextId = "2d"
OffscreenRenderingContextIdWebgl OffscreenRenderingContextId = "webgl"
OffscreenRenderingContextIdWebgl2 OffscreenRenderingContextId = "webgl2"
)
func JSValueToOffscreenRenderingContextId(val js.Value) OffscreenRenderingContextId {
return OffscreenRenderingContextId(val.String())
}