HTMLInputElement
Generated.swift:7644class HTMLInputElement
class HTMLInputElement
import DOM
class HTMLElement
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_HTMLElement_or_Int32 : 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 CustomStringConvertible
A type with a customized textual representation.
protocol ElementContentEditable : JSBridgedClass
protocol GeometryUtils : JSBridgedClass
protocol GlobalEventHandlers : JSBridgedClass
protocol HTMLOrSVGElement : 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 PopoverInvokerElement : JSBridgedClass
protocol Slottable : JSBridgedClass
convenience init()
required init(unsafelyWrapping jsObject: JSObject)
override class var constructor: JSFunction? { get }
@ReadWriteAttribute var accept: String { get set }
@ReadWriteAttribute var align: String { get set }
@ReadWriteAttribute var alt: String { get set }
@ReadWriteAttribute var autocomplete: String { get set }
@ReadWriteAttribute var checked: Bool { get set }
@ReadWriteAttribute var defaultChecked: Bool { get set }
@ReadWriteAttribute var defaultValue: String { get set }
@ReadWriteAttribute var dirName: String { get set }
@ReadWriteAttribute var disabled: Bool { get set }
@ReadWriteAttribute var files: FileList? { get set }
@ReadonlyAttribute var form: HTMLFormElement? { get }
@ReadWriteAttribute var formAction: String { get set }
@ReadWriteAttribute var formEnctype: String { get set }
@ReadWriteAttribute var formMethod: String { get set }
@ReadWriteAttribute var formNoValidate: Bool { get set }
@ReadWriteAttribute var formTarget: String { get set }
@ReadWriteAttribute var height: UInt32 { get set }
@ReadWriteAttribute var indeterminate: Bool { get set }
@ReadonlyAttribute var labels: NodeList? { get }
@ReadonlyAttribute var list: HTMLDataListElement? { get }
@ReadWriteAttribute var max: String { get set }
@ReadWriteAttribute var maxLength: Int32 { get set }
@ReadWriteAttribute var min: String { get set }
@ReadWriteAttribute var minLength: Int32 { get set }
@ReadWriteAttribute var multiple: Bool { get set }
@ReadWriteAttribute var name: String { get set }
@ReadWriteAttribute var pattern: String { get set }
@ReadWriteAttribute var placeholder: String { get set }
@ReadWriteAttribute var readOnly: Bool { get set }
@ReadWriteAttribute var required: Bool { get set }
@ReadWriteAttribute var selectionDirection: String? { get set }
@ReadWriteAttribute var selectionEnd: UInt32? { get set }
@ReadWriteAttribute var selectionStart: UInt32? { get set }
@ReadWriteAttribute var size: UInt32 { get set }
@ReadWriteAttribute var src: String { get set }
@ReadWriteAttribute var step: String { get set }
@ReadWriteAttribute var type: String { get set }
@ReadWriteAttribute var useMap: String { get set }
@ReadonlyAttribute var validationMessage: String { get }
@ReadonlyAttribute var validity: ValidityState { get }
@ReadWriteAttribute var value: String { get set }
@ReadWriteAttribute var valueAsDate: JSObject? { get set }
@ReadWriteAttribute var valueAsNumber: Double { get set }
@ReadWriteAttribute var width: UInt32 { get set }
@ReadonlyAttribute var willValidate: Bool { get }
func checkValidity() -> Bool
func reportValidity() -> Bool
func select()
func setCustomValidity(error: String)
func setRangeText(replacement: String)
func setRangeText(replacement: String, start: UInt32, end: UInt32, selectionMode: SelectionMode? = nil)
func setSelectionRange(start: UInt32, end: UInt32, direction: String? = nil)
func showPicker()
func stepDown(n: Int32? = nil)
func stepUp(n: Int32? = nil)
var popoverTargetAction: String { get nonmutating set }
var popoverTargetElement: Element? { get nonmutating set }