package js.html
extends Element › DOMElement › Node › EventTarget
Available on js
The HTMLInputElement
interface provides special properties and methods for manipulating the layout and presentation of input elements.
Documentation HTMLInputElement by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
accept:String
align:String
string:
represents the alignment of the element. Use CSS instead.
alt:String
autocomplete:String
autofocus:Bool
checked:Bool
defaultChecked:Bool
defaultValue:String
disabled:Bool
files:FileList
read onlyform:FormElement
formAction:String
formEnctype:String
formMethod:String
formNoValidate:Bool
formTarget:String
height:Int
indeterminate:Bool
read onlylabels:NodeList
read onlylist:Element
max:String
maxLength:Int
min:String
minLength:Int
multiple:Bool
name:String
pattern:String
placeholder:String
readOnly:Bool
required:Bool
selectionDirection:String
selectionEnd:Int
selectionStart:Int
size:Int
src:String
step:String
read onlytextLength:Int
type:String
useMap:String
string:
represents a client-side image map.
read onlyvalidationMessage:String
read onlyvalidity:ValidityState
value:String
valueAsDate:Date
valueAsNumber:Float
width:Int
read onlywillValidate:Bool
checkValidity():Bool
reportValidity():Bool
select():Void
setCustomValidity(error:String):Void
setRangeText(replacement:String, start:Int, end:Int, selectionMode:SelectionMode = PRESERVE):Void
setRangeText(replacement:String):Void
Throws:
null |
DOMError |
---|
setSelectionRange(start:Int, end:Int, ?direction:String):Void
Throws:
null |
DOMError |
---|
stepDown(n:Int = 1):Void
Decrements the value
by (step
* n), where n defaults to 1 if not specified. Throws an INVALID_STATE_ERR exception:
if the method is not applicable to for the current type
value, if the element has no step
value, if the value
cannot be converted to a number, if the resulting value is above the max
or below the min
.
@throws DOMError
stepUp(n:Int = 1):Void
Increments the value
by (step
* n), where n defaults to 1 if not specified. Throws an INVALID_STATE_ERR exception:
if the method is not applicable to for the current type
value., if the element has no step
value, if the value
cannot be converted to a number, if the resulting value is above the max
or below the min
.
@throws DOMError
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/InputElement.html