package incr_dom
A library for building dynamic webapps, using Js_of_ocaml
Install
Dune Dependency
Authors
Maintainers
Sources
incr_dom-v0.14.0.tar.gz
sha256=57b0ca69e0ce3c38dadec5df8b0bfb9ec777192412f6259a04002a47e529ca05
md5=f7c6d58180d131d3546266252c11a64f
doc/incr_dom.testing/Incr_dom_testing/Driver/index.html
Module Incr_dom_testing.Driver
val create :
initial_model:'model ->
sexp_of_model:('model -> Core_kernel.Sexp.t) ->
initial_state:'state ->
(module Incr_dom.App_intf.S
with type Action.t = 'action
and type Model.t = 'model
and type State.t = 'state) ->
('model, 'action, 'state) t
val model_var : ('model, _, _) t -> 'model Incr_dom.Incr.Var.t
val view_incr : (_, _, _) t -> Incr_dom.Vdom.Node.t Incr_dom.Incr.t
val action_queue : (_, 'action, _) t -> 'action Core_kernel.Queue.t
val perform_update : (_, _, _) t -> unit
val sexp_of_model : ('model, _, _) t -> 'model -> Core_kernel.Sexp.t
val set_time : (_, _, _) t -> Core_kernel.Time_ns.t -> unit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>