Static Subscriptswiftwasm.webapikit 0.1.0WebAPIBase
subscript(_:in:)
Generated.swift:1147static subscript(name: JSString, in jsObject: JSObject) -> ((A0, A1, A2) -> Void)? { get set }
static subscript(name: JSString, in jsObject: JSObject) -> ((A0, A1, A2) -> Void)? { get set }
s10WebAPIBase29ClosureAttribute3OptionalVoidC_2inyx_q_q0_tcSg13JavaScriptKit8JSStringV_AF8JSObjectCtcipZ
What are these?7XISC
import WebAPIBase
@propertyWrapper final class ClosureAttribute3OptionalVoid<A0, A1, A2> where A0 : ConstructibleFromJSValue, A0 : ConvertibleToJSValue, A1 : ConstructibleFromJSValue, A1 : ConvertibleToJSValue, A2 : ConstructibleFromJSValue, A2 : ConvertibleToJSValue
struct JSString
JSString
represents a string in JavaScript and supports bridging string between JavaScript and Swift.
@dynamicMemberLookup class JSObject
JSObject
represents an object in JavaScript and supports dynamic member lookup. Any member access like object.foo
will dynamically request the JavaScript and Swift runtime bridge library for a member with the specified name in this object.
typealias Void = ()
The return type of functions that don’t explicitly specify a return type, that is, an empty tuple ()
.
init(jsObject: JSObject, name: JSString)
var wrappedValue: ((A0, A1, A2) -> Void)? { get set }