package brr
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Browser programming toolkit for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
brr-0.0.9.tbz
sha512=45cdf73c6a23c8fc4609a32ae2196d4790e5bdba34ca0b784bff9c0b70dab233eb336f1c11dc3002451042ff4cf25b643098ad0d011f14c3d6175842113bed21
doc/brr.ocaml_poke_ui/Brr_ocaml_poke_ui/Store/index.html
Module Brr_ocaml_poke_ui.StoreSource
Persistent storage.
Basic interface to abstract over Brr_io.Storage and Web extension storage.
The type for persistent storage.
Source
val create :
get:(Jstr.t -> Jstr.t option Fut.or_error) ->
set:(Jstr.t -> Jstr.t -> unit Fut.or_error) ->
tstore is a store with given get and set functions.
local_store is a store that uses Brr_io.Storage.local, with keys prefixed by key_prefix (defaults to "ocaml-repl-").
webext_store is a store using the Web extension storage. The "storage" premission must be added to the manifest.
get s k is the value of key k in s (if any).
set s k v sets the value of k in s to v.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>