Enumerationswiftwasm.webapikit 0.1.0DOM
HTMLElement_or_Int32
Generated.swift:22471enum HTMLElement_or_Int32
enum HTMLElement_or_Int32
import DOM
case htmlElement(HTMLElement)
case int32(Int32)
protocol Any_HTMLElement_or_Int32 : 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 htmlElement: HTMLElement? { get }
var int32: Int32? { get }
var jsValue: JSValue { get }
func jsValue() -> JSValue