Protocolswiftwasm.webapikit 0.1.0DOM
HTMLOrSVGElement
Generated.swift:8662protocol HTMLOrSVGElement : JSBridgedClass
Browse conforming typesprotocol HTMLOrSVGElement : JSBridgedClass
import DOM
protocol JSBridgedClass : JSBridgedType
Conform to this protocol when your Swift class wraps a JavaScript class.
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.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol JSBridgedType : ConstructibleFromJSValue, ConvertibleToJSValue, CustomStringConvertible
Use this protocol when your type has no single JavaScript class. For example, a union type of multiple classes or primitive values.
var autofocus: Bool { get nonmutating set }
var dataset: DOMStringMap { get }
var nonce: String { get nonmutating set }
var tabIndex: Int32 { get nonmutating set }
func blur()
func focus(options: FocusOptions? = nil)