Generic Form Field
open class GenericFormField<T, O : FieldOptions<T>, P : GenericFormField.Props<T, O>>(ctx: Ctx<P>) : Component<P> , FormField<T>
Content copied to clipboard
Constructors
Types
Link copied to clipboard
data class DefaultProps<T, O : FieldOptions<T>>( val value: T, val onChange: (T) -> Unit, val options: O) : GenericFormField.Props<T, O>
Content copied to clipboard
Functions
Link copied to clipboard
Link 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
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The life-cycle LifeCycle that the component exposes