kvision / pl.treksoft.kvision.state / stateBinding

stateBinding

(js) fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit>
Deprecated: Use bind function instead.

DSL builder extension function.

It takes the same parameters as the constructor of the built component.