Open Classswiftwasm.webapikit 0.1.0DOM
Node
Generated.swift:12924class Node
class Node
import DOM
class EventTarget
protocol Any_Node_or_String : 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.
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Escapable
protocol JSBridgedClass : JSBridgedType
Conform to this protocol when your Swift class wraps a JavaScript class.
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.
required init(unsafelyWrapping jsObject: JSObject)
static let ATTRIBUTE_NODE: UInt16
static let CDATA_SECTION_NODE: UInt16
static let COMMENT_NODE: UInt16
static let DOCUMENT_FRAGMENT_NODE: UInt16
static let DOCUMENT_NODE: UInt16
static let DOCUMENT_POSITION_CONTAINED_BY: UInt16
static let DOCUMENT_POSITION_CONTAINS: UInt16
static let DOCUMENT_POSITION_DISCONNECTED: UInt16
static let DOCUMENT_POSITION_FOLLOWING: UInt16
static let DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: UInt16
static let DOCUMENT_POSITION_PRECEDING: UInt16
static let DOCUMENT_TYPE_NODE: UInt16
static let ELEMENT_NODE: UInt16
static let ENTITY_NODE: UInt16
static let ENTITY_REFERENCE_NODE: UInt16
static let NOTATION_NODE: UInt16
static let PROCESSING_INSTRUCTION_NODE: UInt16
static let TEXT_NODE: UInt16
override class var constructor: JSFunction? { get }
@ReadonlyAttribute var baseURI: String { get }
@ReadonlyAttribute var childNodes: NodeList { get }
@ReadonlyAttribute var firstChild: Node? { get }
@ReadonlyAttribute var isConnected: Bool { get }
@ReadonlyAttribute var lastChild: Node? { get }
@ReadonlyAttribute var nextSibling: Node? { get }
@ReadonlyAttribute var nodeName: String { get }
@ReadonlyAttribute var nodeType: UInt16 { get }
@ReadWriteAttribute var nodeValue: String? { get set }
@ReadonlyAttribute var ownerDocument: Document? { get }
@ReadonlyAttribute var parentElement: Element? { get }
@ReadonlyAttribute var parentNode: Node? { get }
@ReadonlyAttribute var previousSibling: Node? { get }
@ReadWriteAttribute var textContent: String? { get set }
func appendChild(node: Node) -> Self
func cloneNode(deep: Bool? = nil) -> Self
func compareDocumentPosition(other: Node) -> UInt16
func contains(other: Node?) -> Bool
func getRootNode(options: GetRootNodeOptions? = nil) -> Self
func hasChildNodes() -> Bool
func insertBefore(node: Node, child: Node?) -> Self
func isDefaultNamespace(namespace: String?) -> Bool
func isEqualNode(otherNode: Node?) -> Bool
func isSameNode(otherNode: Node?) -> Bool
func lookupNamespaceURI(prefix: String?) -> String?
func lookupPrefix(namespace: String?) -> String?
func normalize()
func removeChild(child: Node) -> Self
func replaceChild(node: Node, child: Node) -> Self
class Attr
class CharacterData
class Document
class DocumentFragment
class DocumentType
class Element