MonadSelect

Companion:
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[A](elems: Seq[A], selectedItem: A, eventFactory: A => Event): MonadSelect

Factory to create a Monad Select.

Factory to create a Monad Select.

Type parameters:
A

the type of the elements

Value parameters:
elems

the elements to display in the select

eventFactory

the factory that create the associated event from the choice of the user

selectedItem

the selected item at the start

Returns:

the MonadSelect