W3cubDocs

/Haxe JavaScript

TextAreaElement

package js.html

extends ElementDOMElementNodeEventTarget

@:native("HTMLTextAreaElement") Available on js

The HTMLTextAreaElement interface provides special properties and methods for manipulating the layout and presentation of textarea elements.

Documentation HTMLTextAreaElement by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

autofocus:Bool

cols:Int

defaultValue:String

disabled:Bool

read only form:FormElement

maxLength:Int

name:String

placeholder:String

readOnly:Bool

required:Bool

rows:Int

selectionDirection:String

selectionEnd:Int

selectionStart:Int

read only textLength:Int

read only type:String

read only validationMessage:String

read only validity:ValidityState

value:String

read only willValidate:Bool

wrap:String

Methods

checkValidity ():Bool

select ():Void

setCustomValidity (error:String):Void

@:value({ selectionMode : "preserve" }) 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

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/TextAreaElement.html