1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
package pl.treksoft.kvision.form
open class TextArea(cols: Int? = null, rows: Int? = null, placeholder: String? = null, value: String? = null,
name: String? = null, maxlength: Int? = null, label: String? = null, rich: Boolean = false,
disabled: Boolean = false) : AbstractText(label, rich) {
var cols
get() = input.cols
set(value) {
input.cols = value
}
var rows
get() = input.rows
set(value) {
input.rows = value
}
var wrapHard
get() = input.wrapHard
set(value) {
input.wrapHard = value
}
final override val input: TextAreaInput = TextAreaInput(cols, rows, placeholder, value, name, maxlength,
disabled, idc)
init {
this.addInternal(input)
}
}
|