package virtual_dom
Module type Widget.SSource
type dom = private Js_of_ocaml.Dom_html.elementmodule Input : sig ... endmodule State : sig ... endval name : Base.stringval create : Input.t -> State.t * dom Js_of_ocaml.Js.tval update :
prev_input:Input.t ->
input:Input.t ->
state:State.t ->
element:dom Js_of_ocaml.Js.t ->
State.t * dom Js_of_ocaml.Js.tval destroy :
prev_input:Input.t ->
state:State.t ->
element:dom Js_of_ocaml.Js.t ->
Base.unitInside of tests, this widget can be printed and interacted with as though it were instead, some other kind of vdom node. Use `Custom to choose that node, or `Sexp_of_input to get a basic vdom node that just contains the sexp of the current input to the widget.