Enumerationswiftwasm.webapikit 0.1.0DOM
Element_or_Text
Generated.swift:22102enum Element_or_Text
enum Element_or_Text
import DOM
case element(Element)
case text(Text)
protocol Any_Element_or_Text : 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 element: Element? { get }
var jsValue: JSValue { get }
var text: Text? { get }
func jsValue() -> JSValue