Module type Litiom_choice.S

module type S = sig .. end

include Litiom_type.S
include Litiom_choice.DESCRIBABLE
include Litiom_choice.ENUMERABLE

Convenience function for building select boxes. If not provided, optional parameter value defaults to first element of the all list provided during the functor creation. Similarly, parameter allowed is by default equal to all. Finally, the optional transform is a function applied after describe. By default, String.uppercase is used.
val choose : ?a:Html5_types.select_attrib Eliom_content.Html5.F.attrib list ->
name:[< `One of t ] Eliom_parameter.param_name ->
?value:t ->
?allowed:t list ->
?transform:(string -> string) ->
unit -> [> Html5_types.select ] Eliom_content.Html5.F.elt