js_of_ocaml
Compiler from OCaml bytecode to Javascript
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
package js_of_ocaml
-
js_of_ocaml
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library js_of_ocaml
Module
Form
This module provides functions to manipulate forms.
class type formData = object ... end
val formData_form : ( Dom_html.formElement Js.t -> formData Js.t ) Js.constr
type form_contents = [
| `Fields of (string * form_elt) list Pervasives.ref |
| `FormData of formData Js.t |
]
val append : form_contents -> (string * form_elt) -> unit
val post_form_contents : Dom_html.formElement Js.t -> form_contents
val get_form_contents : Dom_html.formElement Js.t -> (string * string) list
val empty_form_contents : unit -> form_contents
val form_elements :
?get:bool ->
Dom_html.formElement Js.t ->
(string * form_elt) list
ON THIS PAGE
No table of contents