Ui Check Box Component
class UiCheckBoxComponent<T, P : UiCheckBoxComponent.Props<T>>(ctx: Ctx<P>) : GenericFormField<T, UiCheckBoxComponent.Options<T>, P>
Content copied to clipboard
Constructors
Types
Link copied to clipboard
class Options<T> : FieldOptions.Base<T> , SemanticOptions<T> , SemanticOptions.Checkbox<T>
Content copied to clipboard
Link copied to clipboard
data class Props<X>( val value: X, val onChange: (X) -> Unit, val options: UiCheckBoxComponent.Options<X>, val on: X, val off: X) : GenericFormField.Props<X, UiCheckBoxComponent.Options<X>>
Content copied to clipboard
Functions
Link copied to clipboard
Called when the component is about to receive new props.
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