HTMLTextAreaElement
Constructors
<init>
Exposes the JavaScript HTMLTextAreaElement to Kotlin
HTMLTextAreaElement()
Properties
autocomplete
open var autocomplete: String
autofocus
open var autofocus: Boolean
cols
open var cols: Int
defaultValue
open var defaultValue: String
dirName
open var dirName: String
disabled
open var disabled: Boolean
form
open val form: HTMLFormElement?
inputMode
open var inputMode: String
maxLength
open var maxLength: Int
minLength
open var minLength: Int
name
open var name: String
placeholder
open var placeholder: String
readOnly
open var readOnly: Boolean
required
open var required: Boolean
rows
open var rows: Int
selectionDirection
open var selectionDirection: String?
selectionEnd
open var selectionEnd: Int?
selectionStart
open var selectionStart: Int?
textLength
open val textLength: Int
type
open val type: String
validationMessage
open val validationMessage: String
validity
open val validity: ValidityState
value
open var value: String
willValidate
open val willValidate: Boolean
wrap
open var wrap: String
Functions
checkValidity
fun checkValidity(): Boolean
reportValidity
fun reportValidity(): Boolean
select
fun select()
setCustomValidity
fun setCustomValidity(error: String)
setRangeText
fun setRangeText(replacement: String)
fun setRangeText(
replacement: String,
start: Int,
end: Int,
selectionMode: SelectionMode = definedExternally)
setSelectionRange
fun setSelectionRange(
start: Int,
end: Int,
direction: String = definedExternally)
Companion Object Properties
ATTRIBUTE_NODE
val ATTRIBUTE_NODE: Short
CDATA_SECTION_NODE
val CDATA_SECTION_NODE: Short
COMMENT_NODE
val COMMENT_NODE: Short
DOCUMENT_FRAGMENT_NODE
val DOCUMENT_FRAGMENT_NODE: Short
DOCUMENT_NODE
val DOCUMENT_NODE: Short
DOCUMENT_POSITION_CONTAINED_BY
val DOCUMENT_POSITION_CONTAINED_BY: Short
DOCUMENT_POSITION_CONTAINS
val DOCUMENT_POSITION_CONTAINS: Short
DOCUMENT_POSITION_DISCONNECTED
val DOCUMENT_POSITION_DISCONNECTED: Short
DOCUMENT_POSITION_FOLLOWING
val DOCUMENT_POSITION_FOLLOWING: Short
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
val DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: Short
DOCUMENT_POSITION_PRECEDING
val DOCUMENT_POSITION_PRECEDING: Short
DOCUMENT_TYPE_NODE
val DOCUMENT_TYPE_NODE: Short
ELEMENT_NODE
val ELEMENT_NODE: Short
ENTITY_NODE
val ENTITY_NODE: Short
ENTITY_REFERENCE_NODE
val ENTITY_REFERENCE_NODE: Short
NOTATION_NODE
val NOTATION_NODE: Short
PROCESSING_INSTRUCTION_NODE
val PROCESSING_INSTRUCTION_NODE: Short
TEXT_NODE
val TEXT_NODE: Short