Single Selection Store
This store can be used for components with an internal store that has to deal with a single element selection from a collection of predefined values (like for a selectField or radioGroup component)
It is based upon the index of an item from the list represented by the Int type.
RFC: Never ever expose the internal store directly to the client side! Only accept values or Flows and return those in order to exchange data with the client!
Constructors
SingleSelectionStore
Link copied to clipboard
fun SingleSelectionStore()
Content copied to clipboard
Functions
errorHandler
Link copied to clipboard
handleAndEmit
Link copied to clipboard
handledBy
Link copied to clipboard
open infix fun <E : Event, X : Element> DomListener<E, X>.handledBy(handler: Handler<Unit>)
Content copied to clipboard
open infix fun <E : Event, X : Element> DomListener<E, X>.handledBy(execute: suspend (E) -> Unit): Job
Content copied to clipboard
open infix fun <E : Event> WindowListener<E>.handledBy(handler: Handler<Unit>)
Content copied to clipboard