Text Area Field Component
open class TextAreaFieldComponent<T>(ctx: Ctx<TextAreaFieldComponent.Props<T>>) : FormFieldComponent<T, TextAreaFieldComponent.Props<T>>
Content copied to clipboard
Constructors
Link copied to clipboard
fun <T> TextAreaFieldComponent(ctx: Ctx<TextAreaFieldComponent.Props<T>>)
Content copied to clipboard
Types
Link copied to clipboard
data class Props<P>(val config: TextAreaFieldComponent.Config<P>) : FormFieldComponent.Props<P>
Content copied to clipboard
Functions
Link copied to clipboard
open override fun onNextProps(newProps: TextAreaFieldComponent.Props<T>, previousProps: TextAreaFieldComponent.Props<T>)
Content copied to clipboard
Called when the component is about to receive new props.
Link copied to clipboard
open fun shouldRedraw(nextProps: TextAreaFieldComponent.Props<T>): Boolean
Content copied to clipboard
Returns 'true' when the component should redraw.
Link copied to clipboard
fun <T> subscribingTo(stream: Stream<T>, onNext: (T) -> Unit? = null): ReadOnlyProperty<Any?, T>
Content copied to clipboard
Creates a property that is subscribed to a stream.
Link copied to clipboard
Triggers a redraw