Global Functionjavascriptkit 0.24.0JavaScriptKit
setJSValue(this:symbol:value:)
JSValue.swift:248func setJSValue(this: JSObject, symbol: JSSymbol, value: JSValue)
func setJSValue(this: JSObject, symbol: JSSymbol, value: JSValue)
s13JavaScriptKit10setJSValue4this6symbol5valueyAA8JSObjectC_AA8JSSymbolCAA0E0OtF
What are these?4JAZZ
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.
class JSSymbol
A wrapper around the JavaScript Symbol
class that exposes its properties in a type-safe and Swifty way.
@dynamicMemberLookup enum JSValue
JSValue
represents a value in JavaScript.