package brr
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Browser programming toolkit for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
brr-0.0.9.tbz
sha512=45cdf73c6a23c8fc4609a32ae2196d4790e5bdba34ca0b784bff9c0b70dab233eb336f1c11dc3002451042ff4cf25b643098ad0d011f14c3d6175842113bed21
doc/brr/Brr_io/Storage/index.html
Module Brr_io.StorageSource
Storage objects.
See Web Storage API
local w is the storage saved accross page sessions for the window's origin.
session w is the storage cleared when the page session ends for the window's origin.
length s is the number of items in s.
key s i is the name of the ith key. (N.B. local storage can race with other tabs)
set_item s k v sets the value of k to v in s. An error is returned if the value could not be set (no permission or quota exceeded).
remove_item s k removes the value of k from s. If k has no value this does nothing.
Events
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page