Global Functionjavascriptkit 0.24.0JavaScriptKit
setJSValue(this:name:value:)
JSValue.swift:214func setJSValue(this: JSObject, name: JSString, value: JSValue)
func setJSValue(this: JSObject, name: JSString, value: JSValue)
s13JavaScriptKit10setJSValue4this4name5valueyAA8JSObjectC_AA8JSStringVAA0E0OtF
What are these?5H6AV
import JavaScriptKit
Swift framework to interact with JavaScript through WebAssembly.
@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.
struct JSString
JSString
represents a string in JavaScript and supports bridging string between JavaScript and Swift.
@dynamicMemberLookup enum JSValue
JSValue
represents a value in JavaScript.