HTMLInputElement
Constructors
<init>
Exposes the JavaScript HTMLInputElement to Kotlin
HTMLInputElement()
Properties
accept
open var accept: String
align
open var align: String
alt
open var alt: String
autocomplete
open var autocomplete: String
autofocus
open var autofocus: Boolean
checked
open var checked: Boolean
defaultChecked
open var defaultChecked: Boolean
defaultValue
open var defaultValue: String
dirName
open var dirName: String
disabled
open var disabled: Boolean
form
open val form: HTMLFormElement?
formAction
open var formAction: String
formEnctype
open var formEnctype: String
formMethod
open var formMethod: String
formNoValidate
open var formNoValidate: Boolean
formTarget
open var formTarget: String
height
open var height: Int
indeterminate
open var indeterminate: Boolean
inputMode
open var inputMode: String
list
open val list: HTMLElement?
max
open var max: String
maxLength
open var maxLength: Int
min
open var min: String
minLength
open var minLength: Int
multiple
open var multiple: Boolean
name
open var name: String
pattern
open var pattern: String
placeholder
open var placeholder: String
readOnly
open var readOnly: Boolean
required
open var required: Boolean
selectionDirection
open var selectionDirection: String?
selectionEnd
open var selectionEnd: Int?
selectionStart
open var selectionStart: Int?
size
open var size: Int
src
open var src: String
step
open var step: String
type
open var type: String
useMap
open var useMap: String
validationMessage
open val validationMessage: String
validity
open val validity: ValidityState
value
open var value: String
valueAsDate
open var valueAsDate: dynamic
valueAsNumber
open var valueAsNumber: Double
width
open var width: Int
willValidate
open val willValidate: Boolean
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)
stepDown
fun stepDown(n: Int = definedExternally)
stepUp
fun stepUp(n: Int = 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