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:Stringalign:Stringstring: represents the alignment of the element. Use CSS instead.
alt:Stringautocomplete:Stringautofocus:Boolchecked:BooldefaultChecked:BooldefaultValue:Stringdisabled:Boolfiles:FileListread onlyform:FormElementformAction:StringformEnctype:StringformMethod:StringformNoValidate:BoolformTarget:Stringheight:Intindeterminate:Boolread onlylabels:NodeListread onlylist:Elementmax:StringmaxLength:Intmin:StringminLength:Intmultiple:Boolname:Stringpattern:Stringplaceholder:StringreadOnly:Boolrequired:BoolselectionDirection:StringselectionEnd:IntselectionStart:Intsize:Intsrc:Stringstep:Stringread onlytextLength:Inttype:StringuseMap:Stringstring: represents a client-side image map.
read onlyvalidationMessage:Stringread onlyvalidity:ValidityStatevalue:StringvalueAsDate:DatevalueAsNumber:Floatwidth:Intread onlywillValidate:BoolcheckValidity():BoolreportValidity():Boolselect():VoidsetCustomValidity(error:String):VoidsetRangeText(replacement:String, start:Int, end:Int, selectionMode:SelectionMode = PRESERVE):VoidsetRangeText(replacement:String):VoidThrows:
null |
DOMError |
|---|
setSelectionRange(start:Int, end:Int, ?direction:String):VoidThrows:
null |
DOMError |
|---|
stepDown(n:Int = 1):VoidDecrements 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):VoidIncrements 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