package bonsai
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A library for building dynamic webapps, using Js_of_ocaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=c78c4476ee6b856846e2d0941e5965009d5e1b853e564b2b1bee61202f0b1ebb
doc/bonsai.uri_parsing/Uri_parsing/Components/index.html
Module Uri_parsing.ComponentsSource
Represents parts of a URL.
Each kind of parser consumes from this "pool" of parts of a url.
Parsers that consume from the query will lookup the query map, parse, and consume the element from the query.
Parsers that consume from the path will read the path in sequential order, from the beginning of the path to the end of the path. Once a path parser, is done parsing, it will remove its consumed elements from the path, and the next path parser will continue where it left off.
Source
type t = {path : string list;(*"foo/bar" ->
*)"foo"; "bar"query : string list Core.String.Map.t;(*"?foo=1&bar=2" -> String.Map.of_alist_exn
*)"foo", ["1"]; "bar", ["2"]
} sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>