package brr
Browser programming toolkit for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
brr-0.0.7.tbz
sha512=4b3d42eb6a32c1d6f1c5ef003f5311b5029156b31f6e51af098b695c769699e0304b66afd2dd574ecf1084e095bbbc4eac552daab083766cd81ed2f1d9897d51
doc/brr/Brr_io/Fetch/Ev/index.html
Module Fetch.Ev
Fetch events.
The type for FetchEvent
objects.
val fetch : t Brr.Ev.type'
fetch
is the fetch
event type.
val as_extendable : t -> Brr.Ev.Extendable.t Brr.Ev.t
as_extendable e
is e
as an extendable event.
val preload_response : t -> Response.t option Fut.or_error
preload_response e
is a navigation response preload (if any).
val handled : t -> unit Fut.or_error
handled e
is obscure.
val respond_with : t -> Response.t Fut.or_error -> unit
respond_with e resp
replace the browser's default fetch handling with the response resp
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>