package brr
Browser programming toolkit for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
brr-0.0.8.tbz
sha512=49e7bfbad2ea6a0139354e4a33c59c8a113c4c1e20a4f629bc5cad24aa801e474b4af10ce35adbda5d23dd294d1de5efa5b10bb3030d03f4758459977250a0f6
doc/brr.ocaml_poke_ui/Brr_ocaml_poke_ui/index.html
Module Brr_ocaml_poke_ui
Source
Interactive toplevel HTML interface for poke objects.
Persistent storage
Prompt history
Toplevel user interface
The type for representing a toplevel user interface over a poke object.
create ~store view
creates a toplevel interface using the children of the view
element whose content model should be flow content. view
's children are erased and the class .ocaml-ui
is set on element. store
is used to store the toplevel history and user settings.
The type for specifiyng kinds of output messages.
output r ~kind msg
outputs message msg
with kind
to the user interface.
Source
val run :
?drop_target:Brr.Ev.target ->
?buttons:Brr.El.t list ->
t ->
Brr_ocaml_poke.t ->
unit
run t poke ~drop_target ~buttons
runs the toplevel with poke object poke
. buttons
are prepended to the buttons panel. drop_target
is the target on which ml files can be droped (defaults to the view).
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page