package bonsai
A library for building dynamic webapps, using Js_of_ocaml
Install
Dune Dependency
Authors
Maintainers
Sources
bonsai-v0.16.0.tar.gz
sha256=1d68aab713659951eba5b85f21d6f9382e0efa8579a02c3be65d9071c6e86303
doc/bonsai.focus_ring/Focus_ring/index.html
Module Focus_ring
Source
A simple data structure for keeping track of a focused element within a list. The focus wraps around so that calling prev
when the focus is the head of the list will cause the focus to move to the end. There is always a focused element -- i.e. there is no blur
operation.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>