Package io. kvision. state
Classes supporting the observer pattern, including the implementation of the observable list.
Functions
bind To
Link copied to clipboard
fun <S, T : GenericFormComponent<S>> T.bindTo(mutableStateFlow: MutableStateFlow<S>): T
Content copied to clipboard
fun <T : GenericFormComponent<Number?>> T.bindTo(mutableStateFlow: MutableStateFlow<Double?>): T
Content copied to clipboard
fun <T : GenericFormComponent<Number?>> T.bindTo(mutableStateFlow: MutableStateFlow<Double>): T
Content copied to clipboard
fun <T : GenericFormComponent<Number?>> T.bindTo(mutableStateFlow: MutableStateFlow<Int?>): T
Content copied to clipboard
fun <T : GenericFormComponent<Number?>> T.bindTo(mutableStateFlow: MutableStateFlow<Int>): T
Content copied to clipboard
Bidirectional data binding to the MutableStateFlow instance.
insert
Link copied to clipboard
insert Not Null
Link copied to clipboard
An extension function which inserts child component and binds it to the given state flow when the state value is not null.
insert When
Link copied to clipboard
An extension function which inserts child component and binds it to the given state flow when the given condition is true.
Properties
mutableState
Link copied to clipboard
mutableStateFlow
Link copied to clipboard
observableState
Link copied to clipboard
observableState
Link copied to clipboard