Protocolswiftwasm.webapikit 0.1.0DOM
ParentNode
Generated.swift:13299protocol ParentNode : JSBridgedClass
Browse conforming typesprotocol ParentNode : 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 childElementCount: UInt32 { get }
var children: HTMLCollection { get }
var firstElementChild: Element? { get }
var lastElementChild: Element? { get }
func append(nodes: Node_or_String...)
func prepend(nodes: Node_or_String...)
func querySelector(selectors: String) -> Element?
func querySelectorAll(selectors: String) -> NodeList
func replaceChildren(nodes: Node_or_String...)