val create_float : string ‑> float ‑> t
create_float name float
creates a simple float-only attribute
val string_property : string ‑> string ‑> t
string_property name value
creates a simple string-only property
val property : string ‑> Virtual_dom__.Js_of_ocaml.Js.Unsafe.any ‑> t
property name value
creates a property with a generic value
val on : string ‑> (Virtual_dom__.Js_of_ocaml.Dom_html.#event Virtual_dom__.Js_of_ocaml.Js.t ‑> Virtual_dom__.Event.t) ‑> t
val autofocus : bool ‑> t
val checked : t
val class_ : string ‑> t
val classes : string list ‑> t
val disabled : t
val for_ : string ‑> t
val href : string ‑> t
val id : string ‑> t
val placeholder : string ‑> t
val style : (string * string) list ‑> t
val style_css : string ‑> t
val tabindex : int ‑> t
val type_ : string ‑> t
val value : string ‑> t
val on_focus : (Virtual_dom__.Js_of_ocaml.Dom_html.event Virtual_dom__.Js_of_ocaml.Js.t ‑> Virtual_dom__.Event.t) ‑> t
val on_blur : (Virtual_dom__.Js_of_ocaml.Dom_html.event Virtual_dom__.Js_of_ocaml.Js.t ‑> Virtual_dom__.Event.t) ‑> t
val on_input : (Virtual_dom__.Js_of_ocaml.Dom_html.event Virtual_dom__.Js_of_ocaml.Js.t ‑> string ‑> Virtual_dom__.Event.t) ‑> t
on_input
fires every time the input changes, i.e., whenever a key is pressed in
the input field. The current contents are returned as an OCaml string as
a convenience
val on_change : (Virtual_dom__.Js_of_ocaml.Dom_html.event Virtual_dom__.Js_of_ocaml.Js.t ‑> string ‑> Virtual_dom__.Event.t) ‑> t
on_change
fires when the input is complete, i.e., when enter is pressed in the
input field or the input field loses focus. The current contents are returned as an
OCaml string as a convenience
val on_click : (Virtual_dom__.Js_of_ocaml.Dom_html.mouseEvent Virtual_dom__.Js_of_ocaml.Js.t ‑> Virtual_dom__.Event.t) ‑> t
val on_double_click : (Virtual_dom__.Js_of_ocaml.Dom_html.mouseEvent Virtual_dom__.Js_of_ocaml.Js.t ‑> Virtual_dom__.Event.t) ‑> t
val on_mousemove : (Virtual_dom__.Js_of_ocaml.Dom_html.mouseEvent Virtual_dom__.Js_of_ocaml.Js.t ‑> Virtual_dom__.Event.t) ‑> t
val on_mouseup : (Virtual_dom__.Js_of_ocaml.Dom_html.mouseEvent Virtual_dom__.Js_of_ocaml.Js.t ‑> Virtual_dom__.Event.t) ‑> t
val on_mousedown : (Virtual_dom__.Js_of_ocaml.Dom_html.mouseEvent Virtual_dom__.Js_of_ocaml.Js.t ‑> Virtual_dom__.Event.t) ‑> t
val on_mouseenter : (Virtual_dom__.Js_of_ocaml.Dom_html.mouseEvent Virtual_dom__.Js_of_ocaml.Js.t ‑> Virtual_dom__.Event.t) ‑> t
val on_mouseleave : (Virtual_dom__.Js_of_ocaml.Dom_html.mouseEvent Virtual_dom__.Js_of_ocaml.Js.t ‑> Virtual_dom__.Event.t) ‑> t
val on_mouseover : (Virtual_dom__.Js_of_ocaml.Dom_html.mouseEvent Virtual_dom__.Js_of_ocaml.Js.t ‑> Virtual_dom__.Event.t) ‑> t
val on_mouseout : (Virtual_dom__.Js_of_ocaml.Dom_html.mouseEvent Virtual_dom__.Js_of_ocaml.Js.t ‑> Virtual_dom__.Event.t) ‑> t
val on_keyup : (Virtual_dom__.Js_of_ocaml.Dom_html.keyboardEvent Virtual_dom__.Js_of_ocaml.Js.t ‑> Virtual_dom__.Event.t) ‑> t
val on_keypress : (Virtual_dom__.Js_of_ocaml.Dom_html.keyboardEvent Virtual_dom__.Js_of_ocaml.Js.t ‑> Virtual_dom__.Event.t) ‑> t
val on_keydown : (Virtual_dom__.Js_of_ocaml.Dom_html.keyboardEvent Virtual_dom__.Js_of_ocaml.Js.t ‑> Virtual_dom__.Event.t) ‑> t