Protocolswiftwasm.webapikit 0.1.0DOM
RenderingContext
RenderingContext.swift:3protocol RenderingContext : ConstructibleFromJSValue, ConvertibleToJSValue
Browse conforming typesprotocol RenderingContext : ConstructibleFromJSValue, ConvertibleToJSValue
import DOM
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 var contextID: JSString { get }
Textual identifier of this context type, passed to getContext
under the hood.