Open Classswiftwasm.webapikit 0.1.0DOM
Element
Generated.swift:4539class Element
class Element
import DOM
class Node
protocol ARIAMixin : JSBridgedClass
protocol Any_CSSPseudoElement_or_Element : ConvertibleToJSValue
protocol Any_Element_or_HTMLCollection : ConvertibleToJSValue
protocol Any_Element_or_RadioNodeList : ConvertibleToJSValue
protocol Any_Element_or_Text : ConvertibleToJSValue
protocol Any_GeometryNode : ConvertibleToJSValue
protocol Any_Node_or_String : ConvertibleToJSValue
protocol ChildNode : JSBridgedClass
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 GeometryUtils : JSBridgedClass
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.
protocol NonDocumentTypeChildNode : JSBridgedClass
protocol ParentNode : JSBridgedClass
protocol Slottable : JSBridgedClass
required init(unsafelyWrapping jsObject: JSObject)
override class var constructor: JSFunction? { get }
@ReadonlyAttribute var attributes: NamedNodeMap { get }
@ReadonlyAttribute var classList: DOMTokenList { get }
@ReadWriteAttribute var className: String { get set }
@ReadonlyAttribute var clientHeight: Int32 { get }
@ReadonlyAttribute var clientLeft: Int32 { get }
@ReadonlyAttribute var clientTop: Int32 { get }
@ReadonlyAttribute var clientWidth: Int32 { get }
@ReadWriteAttribute var id: String { get set }
@ReadonlyAttribute var localName: String { get }
@ReadonlyAttribute var namespaceURI: String? { get }
@ReadonlyAttribute var prefix: String? { get }
@ReadonlyAttribute var scrollHeight: Int32 { get }
@ReadWriteAttribute var scrollLeft: Double { get set }
@ReadWriteAttribute var scrollTop: Double { get set }
@ReadonlyAttribute var scrollWidth: Int32 { get }
@ReadonlyAttribute var shadowRoot: ShadowRoot? { get }
@ReadWriteAttribute var slot: String { get set }
@ReadonlyAttribute var tagName: String { get }
func attachShadow(init: ShadowRootInit) -> ShadowRoot
func checkVisibility(options: CheckVisibilityOptions? = nil) -> Bool
func closest(selectors: String) -> Element?
func getAttribute(qualifiedName: String) -> String?
func getAttributeNS(namespace: String?, localName: String) -> String?
func getAttributeNames() -> [String]
func getAttributeNode(qualifiedName: String) -> Attr?
func getAttributeNodeNS(namespace: String?, localName: String) -> Attr?
func getBoundingClientRect() -> DOMRect
func getClientRects() -> DOMRectList
func getElementsByClassName(classNames: String) -> HTMLCollection
func getElementsByTagName(qualifiedName: String) -> HTMLCollection
func getElementsByTagNameNS(namespace: String?, localName: String) -> HTMLCollection
func hasAttribute(qualifiedName: String) -> Bool
func hasAttributeNS(namespace: String?, localName: String) -> Bool
func hasAttributes() -> Bool
func insertAdjacentElement(where: String, element: Element) -> Element?
func insertAdjacentText(where: String, data: String)
func matches(selectors: String) -> Bool
func pseudo(type: String) -> CSSPseudoElement?
func removeAttribute(qualifiedName: String)
func removeAttributeNS(namespace: String?, localName: String)
func removeAttributeNode(attr: Attr) -> Attr
func scroll(options: ScrollToOptions? = nil)
func scroll(x: Double, y: Double)
func scrollBy(options: ScrollToOptions? = nil)
func scrollBy(x: Double, y: Double)
func scrollIntoView(arg: Bool_or_ScrollIntoViewOptions? = nil)
func scrollTo(options: ScrollToOptions? = nil)
func scrollTo(x: Double, y: Double)
func setAttribute(qualifiedName: String, value: String)
func setAttributeNS(namespace: String?, qualifiedName: String, value: String)
func setAttributeNode(attr: Attr) -> Attr?
func setAttributeNodeNS(attr: Attr) -> Attr?
func toggleAttribute(qualifiedName: String, force: Bool? = nil) -> Bool
func webkitMatchesSelector(selectors: String) -> Bool
var ariaActiveDescendantElement: Element? { get nonmutating set }
var ariaAtomic: String? { get nonmutating set }
var ariaAutoComplete: String? { get nonmutating set }
var ariaBusy: String? { get nonmutating set }
var ariaChecked: String? { get nonmutating set }
var ariaColCount: String? { get nonmutating set }
var ariaColIndex: String? { get nonmutating set }
var ariaColIndexText: String? { get nonmutating set }
var ariaColSpan: String? { get nonmutating set }
var ariaControlsElements: [Element]? { get nonmutating set }
var ariaCurrent: String? { get nonmutating set }
var ariaDescribedByElements: [Element]? { get nonmutating set }
var ariaDescription: String? { get nonmutating set }
var ariaDetailsElements: [Element]? { get nonmutating set }
var ariaDisabled: String? { get nonmutating set }
var ariaErrorMessageElements: [Element]? { get nonmutating set }
var ariaExpanded: String? { get nonmutating set }
var ariaFlowToElements: [Element]? { get nonmutating set }
var ariaHasPopup: String? { get nonmutating set }
var ariaHidden: String? { get nonmutating set }
var ariaInvalid: String? { get nonmutating set }
var ariaKeyShortcuts: String? { get nonmutating set }
var ariaLabel: String? { get nonmutating set }
var ariaLabelledByElements: [Element]? { get nonmutating set }
var ariaLevel: String? { get nonmutating set }
var ariaLive: String? { get nonmutating set }
var ariaModal: String? { get nonmutating set }
var ariaMultiLine: String? { get nonmutating set }
var ariaMultiSelectable: String? { get nonmutating set }
var ariaOrientation: String? { get nonmutating set }
var ariaOwnsElements: [Element]? { get nonmutating set }
var ariaPlaceholder: String? { get nonmutating set }
var ariaPosInSet: String? { get nonmutating set }
var ariaPressed: String? { get nonmutating set }
var ariaReadOnly: String? { get nonmutating set }
var ariaRequired: String? { get nonmutating set }
var ariaRoleDescription: String? { get nonmutating set }
var ariaRowCount: String? { get nonmutating set }
var ariaRowIndex: String? { get nonmutating set }
var ariaRowIndexText: String? { get nonmutating set }
var ariaRowSpan: String? { get nonmutating set }
var ariaSelected: String? { get nonmutating set }
var ariaSetSize: String? { get nonmutating set }
var ariaSort: String? { get nonmutating set }
var ariaValueMax: String? { get nonmutating set }
var ariaValueMin: String? { get nonmutating set }
var ariaValueNow: String? { get nonmutating set }
var ariaValueText: String? { get nonmutating set }
var assignedSlot: HTMLSlotElement? { get }
var childElementCount: UInt32 { get }
var children: HTMLCollection { get }
var firstElementChild: Element? { get }
var lastElementChild: Element? { get }
var nextElementSibling: Element? { get }
var previousElementSibling: Element? { get }
var role: String? { get nonmutating set }
func after(nodes: Node_or_String...)
func append(nodes: Node_or_String...)
func before(nodes: Node_or_String...)
func convertPointFromNode(point: DOMPointInit, from: GeometryNode, options: ConvertCoordinateOptions? = nil) -> DOMPoint
func convertQuadFromNode(quad: DOMQuadInit, from: GeometryNode, options: ConvertCoordinateOptions? = nil) -> DOMQuad
func convertRectFromNode(rect: DOMRectReadOnly, from: GeometryNode, options: ConvertCoordinateOptions? = nil) -> DOMQuad
func getBoxQuads(options: BoxQuadOptions? = nil) -> [DOMQuad]
func prepend(nodes: Node_or_String...)
func querySelector(selectors: String) -> Element?
func querySelectorAll(selectors: String) -> NodeList
func remove()
func replaceChildren(nodes: Node_or_String...)
func replaceWith(nodes: Node_or_String...)
class HTMLElement
class MathMLElement
import SVG
class SVGElement
import CSSOM
protocol Any_Element_or_ProcessingInstruction : ConvertibleToJSValue
protocol Any_GeometryNode : ConvertibleToJSValue
import WebAnimations
protocol Animatable : JSBridgedClass
func animate(keyframes: JSObject?, options: Double_or_KeyframeAnimationOptions? = nil) -> Animation
func getAnimations(options: GetAnimationsOptions? = nil) -> [Animation]