W3cubDocs

/Haxe JavaScript

TextAreaElement

package js.html

extends ElementDOMElementNodeEventTarget

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 also:

Variables

autocomplete:String

autofocus:Bool

cols:Int

defaultValue:String

disabled:Bool

read onlyform:FormElement

read onlylabels:NodeList

maxLength:Int

minLength:Int

name:String

placeholder:String

readOnly:Bool

required:Bool

rows:Int

selectionDirection:String

selectionEnd:Int

selectionStart:Int

read onlytextLength:Int

read onlytype:String

read onlyvalidationMessage:String

read onlyvalidity:ValidityState

value:String

read onlywillValidate:Bool

wrap:String

Methods

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

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