Classes supporting the observer pattern, including the implementation of the observable list.
(js)
ObservableList |
Observable list interface. interface ObservableList<T> : MutableList<T>, ObservableState<List<T>> |
(js)
ObservableListWrapper |
Simple observable list implementation. class ObservableListWrapper<T> : MutableList<T>, ObservableList<T>, ObservableState<List<T>> |
(js)
ObservableState |
An interface of observable state. interface ObservableState<S> |
(js)
StateBinding |
A class which binds the given container to the observable state. class StateBinding<S : Any, CONT : Container, CONTENT> : Widget |
(js)
Updateable |
A helper class for updateable content. class Updateable<S : Any, CONTENT> |
(js)
observableListOf |
Creates an instance of ObservableList fun <T> observableListOf(vararg items: T): ObservableListWrapper<T> |
(js)
stateBinding |
DSL builder extension function. fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit> |
(js)
stateUpdate |
DSL builder extension function for updateable redux content. fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT> |