bonsai

A library for building dynamic webapps, using Js_of_ocaml
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library bonsai.web_ui_form
val single_opt : Core.Source_code_position.t -> ?extra_attrs:Bonsai_web.Vdom.Attr.t list Bonsai_web.Value.t -> ?accept:[ `Extension of string | `Mimetype of string ] list -> unit -> Bonsai_web_ui_file.t option Bonsai_web_ui_form__Form.t Bonsai_web.Computation.t
val single : Core.Source_code_position.t -> ?extra_attrs:Bonsai_web.Vdom.Attr.t list Bonsai_web.Value.t -> ?accept:[ `Extension of string | `Mimetype of string ] list -> unit -> Bonsai_web_ui_file.t Bonsai_web_ui_form__Form.t Bonsai_web.Computation.t

A form where picking a file is mandatory. The form will be in an error state until a file is picked.

val multiple : Core.Source_code_position.t -> ?extra_attrs:Bonsai_web.Vdom.Attr.t list Bonsai_web.Value.t -> ?accept:[ `Extension of string | `Mimetype of string ] list -> unit -> Bonsai_web_ui_file.t Core.Filename.Map.t Bonsai_web_ui_form__Form.t Bonsai_web.Computation.t