package bonsai
A library for building dynamic webapps, using Js_of_ocaml
Install
Dune Dependency
Authors
Maintainers
Sources
bonsai-v0.14.0.tar.gz
sha256=43f35d648644492d776bf2c7b86c8227e7793615b6a658432e95f8dccd3631f8
md5=b5e743dbfa64d0da5fd660f14cd0b549
doc/bonsai.types/Bonsai_types/Environment/index.html
Module Bonsai_types.Environment
include Core_kernel.Univ_map.S1
with module Key = Core_kernel.Univ_map.Type_id_key
and type ('w, 'a) data := ('a, 'w) Incremental.t
val sexp_of_t :
('s -> Ppx_sexp_conv_lib.Sexp.t) ->
's t ->
Ppx_sexp_conv_lib.Sexp.t
module Key = Core_kernel.Univ_map.Type_id_key
val invariant : _ t -> Base.Unit.t
val empty : _ t
val is_empty : _ t -> Base.Bool.t
val set : 's t -> 'a Key.t -> ('a, 's) Incremental.t -> 's t
val mem : _ t -> _ Key.t -> Base.Bool.t
val mem_by_id : _ t -> Core_kernel.Type_equal.Id.Uid.t -> Base.Bool.t
val find : 's t -> 'a Key.t -> ('a, 's) Incremental.t Base.Option.t
val find_exn : 's t -> 'a Key.t -> ('a, 's) Incremental.t
val add :
's t ->
'a Key.t ->
('a, 's) Incremental.t ->
[ `Ok of 's t | `Duplicate ]
val add_exn : 's t -> 'a Key.t -> ('a, 's) Incremental.t -> 's t
val change :
's t ->
'a Key.t ->
f:
(('a, 's) Incremental.t Base.Option.t ->
('a, 's) Incremental.t Base.Option.t) ->
's t
val change_exn :
's t ->
'a Key.t ->
f:(('a, 's) Incremental.t -> ('a, 's) Incremental.t) ->
's t
val update :
's t ->
'a Key.t ->
f:(('a, 's) Incremental.t Base.Option.t -> ('a, 's) Incremental.t) ->
's t
val remove_by_id : 's t -> Core_kernel.Type_equal.Id.Uid.t -> 's t
module Packed : sig ... end
val to_alist : 's t -> 's Packed.t Base.List.t
val of_alist_exn : 's Packed.t Base.List.t -> 's t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>