open class RichTextInput : AbstractTextInput
Basic rich text component.
RichTextInput(value: String? = null, classes: Set<String> = setOf()) |
var autofocus: Boolean?
Determines if the text input is automatically focused. |
|
open var disabled: Boolean
Determines if the field is disabled. |
|
var maxlength: Int?
Maximal length of the text input value. |
|
open var name: String?
The name attribute of the generated HTML input element. |
|
var placeholder: String?
The placeholder for the text input. |
|
var readonly: Boolean?
Determines if the text input is read-only. |
|
open var size: InputSize?
The size of the input. |
|
var startValue: String?
The value attribute of the generated HTML input element. |
|
var value: String?
Text input value. |
open fun afterDestroy(): Unit
Method called after destroying Snabbdom vnode. |
|
open fun afterInsert(node: VNode): Unit
Method called after inserting Snabbdom vnode into the DOM. |
|
open fun getSnAttrs(): List<StringPair>
Returns list of element attributes in the form of a List. |
|
open fun render(): VNode
Renders current component as a Snabbdom vnode. |
open fun afterPostpatch(node: VNode): Unit
Method called after updating Snabbdom vnode. |
|
open fun blur(): Unit
Makes the input element blur. |
|
open fun focus(): Unit
Makes the input element focused. |
|
open fun getSnClass(): List<StringBoolPair>
Returns list of CSS class names for current widget in the form of a List. |
fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: RichTextInput.() -> Unit = null): RichTextInput
DSL builder extension function. |