data SelectEntry : Type -> TypeTitle : String -> SelectEntry tEntry : t -> String -> SelectEntry tselectEntries : Sink e => List (SelectEntry t) -> (t -> Bool) -> (t -> e) -> List (Attribute Select) -> HTMLNodeselectFromListBy : Sink e => List t -> (t -> Bool) -> (t -> String) -> (t -> e) -> List (Attribute Select) -> HTMLNodeCreate a `<select>` element displaying the options in the given
list.
@values : the list of options
@sel : true if the given item in the list should be selected
@display : how to display an option at the UI
@toEvent : how to convert an option to an event
@attrs : additional attributes
selectFromList : Sink e => Eq t => List t -> Maybe t -> (t -> String) -> (t -> e) -> List (Attribute Select) -> HTMLNodeLike `selectFromListBy` but uses an optional initial value
to determine the initially selected value.
@values : the list of options
@init : the initially selected option (if any)
@display : how to display an option at the UI
@toEvent : how to convert an option to an event
@attrs : additional attributes