package brr
Browser programming toolkit for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
brr-0.0.7.tbz
sha512=4b3d42eb6a32c1d6f1c5ef003f5311b5029156b31f6e51af098b695c769699e0304b66afd2dd574ecf1084e095bbbc4eac552daab083766cd81ed2f1d9897d51
doc/brr/Brr_io/Form/index.html
Module Brr_io.Form
Form elements and form data.
Element
The type for HTMLFormElement objects.
of_el e is a form from element e. This throws a JavaScript error if e is not a form element.
accept_charset f is the charset accepted by f.
autocomplete f refelects the value of the autocomplete attribute of f.
val no_validate : t -> boolno_validate f refelects the value of the novalidate attribute of f.
val check_validity : t -> boolcheck_validity f is true if the form's children controls all satisfy their validation constraints.
val report_validity : t -> boolreport_validity f is like check_validity but also reports problems to the user.
request_submist f el requests the form to be submited using button el or the form itself if unspecified.
Data
module Data : sig ... endForm data.
Events
module Ev : sig ... endForm events