ElementInternals
Generated.swift:4851class ElementInternals
class ElementInternals
import DOM
protocol ARIAMixin : 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 CustomStringConvertible
A type with a customized textual representation.
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)
class var constructor: JSFunction? { get }
@ReadonlyAttribute var form: HTMLFormElement? { get }
let jsObject: JSObject
@ReadonlyAttribute var labels: NodeList { get }
@ReadonlyAttribute var shadowRoot: ShadowRoot? { get }
@ReadonlyAttribute var validationMessage: String { get }
@ReadonlyAttribute var validity: ValidityState { get }
@ReadonlyAttribute var willValidate: Bool { get }
func checkValidity() -> Bool
func reportValidity() -> Bool
func setFormValue(value: File_or_FormData_or_String?, state: File_or_FormData_or_String? = nil)
func setValidity(flags: ValidityStateFlags? = nil, message: String? = nil, anchor: HTMLElement? = nil)
init?(from value: JSValue)
init?(from object: JSObject)
static func construct(from value: JSValue) -> Self?
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 description: String { get }
var jsValue: JSValue { get }
var role: String? { get nonmutating set }
func jsValue() -> JSValue