W3cubDocs

/Haxe JavaScript

InputElement

package js.html

extends ElementDOMElementNodeEventTarget

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:

Variables

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

read only files:FileList

read only form:FormElement

formAction:String

formEnctype:String

formMethod:String

formNoValidate:Bool

formTarget:String

height:Int

indeterminate:Bool

read only list:Element

max:String

maxLength:Int

min:String

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 only textLength:Int

type:String

useMap:String

string: represents a client-side image map.

read only validationMessage:String

read only validity:ValidityState

value:String

valueAsNumber:Float

width:Int

read only willValidate:Bool

Methods

checkValidity ():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

Throws:

null DOMError

stepUp (n:Int = 1):Void

Throws:

null DOMError

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/InputElement.html