Version 0.99.4
This is a preliminary version of the documentation. Help us to improve it by filling tickets. We are looking for native english speakers to proof read the documentation. Contact us!
module type FORMCREATE =sig..end
type form_content_elt type form_content_elt_list type form_elt type a_content_elt type a_content_elt_list type a_elt type a_elt_list type div_content_elt type div_content_elt_list type uri type link_elt type script_elt type textarea_elt type input_elt type pcdata_elt type select_elt type select_content_elt type select_content_elt_list type option_elt type option_elt_list type button_elt type button_content_elt type button_content_elt_list type a_attrib_t type form_attrib_t type input_attrib_t type textarea_attrib_t type select_attrib_t type link_attrib_t type script_attrib_t type optgroup_attrib_t type option_attrib_t type button_attrib_t type input_type_t type button_type_t val hidden : input_type_tval checkbox : input_type_tval radio : input_type_tval submit : input_type_tval file : input_type_tval image : input_type_tval buttonsubmit : button_type_tval empty_seq : form_content_elt_listval cons_form : form_content_elt ->
form_content_elt_list ->
form_content_elt_listval map_option : ('a -> option_elt) ->
'a list -> option_elt_listval map_optgroup : ('a -> select_content_elt) ->
'a ->
'a list ->
select_content_elt *
select_content_elt_listval select_content_of_option : option_elt ->
select_content_eltval make_pcdata : string -> pcdata_eltval make_a : ?a:a_attrib_t ->
href:string ->
a_content_elt_list -> a_eltval make_get_form : ?a:form_attrib_t ->
action:string ->
form_content_elt ->
form_content_elt_list ->
form_eltval make_post_form : ?a:form_attrib_t ->
action:string ->
?id:string ->
?inline:bool ->
form_content_elt ->
form_content_elt_list ->
form_eltval make_hidden_field : input_elt -> form_content_eltval remove_first : form_content_elt_list ->
form_content_elt *
form_content_elt_listval make_input : ?a:input_attrib_t ->
?checked:bool ->
typ:input_type_t ->
?name:string ->
?src:uri ->
?value:string -> unit -> input_eltval make_button : ?a:button_attrib_t ->
button_type:button_type_t ->
?name:string ->
?value:string ->
button_content_elt_list ->
button_eltval make_textarea : ?a:textarea_attrib_t ->
name:string ->
?value:pcdata_elt ->
rows:int -> cols:int -> unit -> textarea_eltval make_select : ?a:select_attrib_t ->
multiple:bool ->
name:string ->
select_content_elt ->
select_content_elt_list ->
select_eltval make_option : ?a:option_attrib_t ->
selected:bool ->
?value:string ->
pcdata_elt -> option_eltval make_optgroup : ?a:optgroup_attrib_t ->
label:string ->
option_elt ->
option_elt_list ->
select_content_eltval uri_of_string : string -> urival make_css_link : ?a:link_attrib_t ->
uri:uri -> unit -> link_eltval make_js_script : ?a:script_attrib_t ->
uri:uri -> unit -> script_elt