textArea

fun <C : HTMLElement> RenderContext.textArea(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, tag: TagFactory<Tag<C>>, initialize: TextArea<C>.() -> Unit): Tag<C>

Factory function to create a TextArea.

API-Sketch:

textArea() {
val value: DatabindingProperty<String>

textareaTextfield() { }
textareaLabel() { }
textareaDescription() { } // use multiple times
textareaValidationMessages() {
val msgs: Flow<List<ComponentValidationMessage>>
}
}

For more information refer to the official documentation


fun RenderContext.textArea(classes: String? = null, id: String? = null, scope: ScopeContext.() -> Unit = {}, initialize: TextArea<HTMLDivElement>.() -> Unit): Tag<HTMLDivElement>

Factory function to create a TextArea with a HTMLDivElement as default root Tag.

API-Sketch:

textArea() {
val value: DatabindingProperty<String>

textareaTextfield() { }
textareaLabel() { }
textareaDescription() { } // use multiple times
textareaValidationMessages() {
val msgs: Flow<List<ComponentValidationMessage>>
}
}

For more information refer to the official documentation