Enumerationswiftwasm.webapikit 0.1.0DOM
HTMLCanvasElement_or_OffscreenCanvas
Generated.swift:22419enum HTMLCanvasElement_or_OffscreenCanvas
enum HTMLCanvasElement_or_OffscreenCanvas
import DOM
case htmlCanvasElement(HTMLCanvasElement)
case offscreenCanvas(OffscreenCanvas)
protocol Any_HTMLCanvasElement_or_OffscreenCanvas : ConvertibleToJSValue
protocol ConstructibleFromJSValue
Types conforming to this protocol can be constructed from JSValue
.
protocol ConvertibleToJSValue
Objects that can be converted to a JavaScript value, preferably in a lossless manner.
static func construct(from value: JSValue) -> Self?
var htmlCanvasElement: HTMLCanvasElement? { get }
var jsValue: JSValue { get }
var offscreenCanvas: OffscreenCanvas? { get }
func jsValue() -> JSValue