package bonsai
A library for building dynamic webapps, using Js_of_ocaml
Install
Dune Dependency
Authors
Maintainers
Sources
v0.15.1.tar.gz
sha256=0c4a714146073f421f1a6179561f836b45d8dc012c743207d3481ea63bef74bf
doc/bonsai.protocol/Bonsai_protocol/Entry/index.html
Module Bonsai_protocol.Entry
Source
All performance entries are forwarded to the debugger/profiler, whether or not they were generated by Bonsai. Thus, when possible, we extract the Bonsai node that the entry corresponds to, but otherwise we just pass along the label unmodified.
Source
type t = {
label : [ `Bonsai of Bonsai.Private.Node_path.t | `Other of string ];
entry_type : string;
start_time : float;
duration : float;
}
include Core.Bin_prot.Binable.S with type t := t
include Bin_prot.Binable.S_only_functions with type t := t
This function only needs implementation if t
exposed to be a polymorphic variant. Despite what the type reads, this does *not* produce a function after reading; instead it takes the constructor tag (int) before reading and reads the rest of the variant t
afterwards.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>