package bonsai
A library for building dynamic webapps, using Js_of_ocaml
Install
Dune Dependency
Authors
Maintainers
Sources
bonsai-v0.15.0.tar.gz
sha256=24c4c3149280abd639034ce3acf60e475a772202099e965be8bd8902524573ef
doc/bonsai.web_test/Bonsai_web_test/Arrow/Helpers/index.html
Module Arrow.Helpers
module type S = sig ... end
val make_generic :
driver:('input, 's) Bonsai_test.Arrow.Driver.t ->
string_of_result:('result -> string) ->
get_result:('s -> 'result) ->
get_extra:('s -> 'extra) ->
schedule_action:('s -> 'action -> unit) ->
(module S
with type action = 'action
and type extra = 'extra
and type input = 'input)
val make :
driver:('input, 'result) Bonsai_test.Arrow.Driver.t ->
sexp_of_result:('result -> Core.Sexp.t) ->
(module S
with type action = Core.Nothing.t
and type extra = unit
and type input = 'input)
val make_with_inject :
driver:
('input,
'result * ('action -> unit Bonsai_web_test__.Import.Vdom.Effect.t))
Bonsai_test.Arrow.Driver.t ->
sexp_of_result:('result -> Core.Sexp.t) ->
(module S
with type action = 'action
and type extra = unit
and type input = 'input)
val make_string :
driver:('input, string) Bonsai_test.Arrow.Driver.t ->
(module S
with type action = Core.Nothing.t
and type extra = unit
and type input = 'input)
val make_string_with_inject :
driver:
('input, string * ('action -> unit Bonsai_web_test__.Import.Vdom.Effect.t))
Bonsai_test.Arrow.Driver.t ->
(module S
with type action = 'action
and type extra = unit
and type input = 'input)
val make_vdom :
?vdom_to_string:(Bonsai_web_test__.Import.Vdom.Node.t -> string) ->
driver:
('input, Bonsai_web_test__.Import.Vdom.Node.t) Bonsai_test.Arrow.Driver.t ->
(module Bonsai_web_test__.Helpers_intf.S_vdom
with type action = Core.Nothing.t
and type extra = unit
and type input = 'input)
val make_vdom_with_extra :
?vdom_to_string:(Bonsai_web_test__.Import.Vdom.Node.t -> string) ->
driver:
('input, Bonsai_web_test__.Import.Vdom.Node.t * 'extra)
Bonsai_test.Arrow.Driver.t ->
(module Bonsai_web_test__.Helpers_intf.S_vdom
with type action = Core.Nothing.t
and type extra = 'extra
and type input = 'input)
val make_vdom_with_inject :
?vdom_to_string:(Bonsai_web_test__.Import.Vdom.Node.t -> string) ->
driver:
('input,
Bonsai_web_test__.Import.Vdom.Node.t
* ('action ->
unit Bonsai_web_test__.Import.Vdom.Effect.t))
Bonsai_test.Arrow.Driver.t ->
(module Bonsai_web_test__.Helpers_intf.S_vdom
with type action = 'action
and type extra = unit
and type input = 'input)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>