package inquire
An OCaml library to create beautiful interactive CLIs
Install
Dune Dependency
Authors
Maintainers
Sources
inquire-0.2.1.tbz
sha256=0b88d89e24d4cbc0560a7c8d8ec51388990e1b27f24685029997afa52a7c720f
sha512=8b62860a8d15e41528a404a6f1b9968c3d79755607b5ea319af2e3e45516e672a785361d278279910928db4054e1800e87bcee0210ff3eabfb330713b368c827
doc/inquire.lambda-term/LTerm_widget/class-type-box/index.html
Class type LTerm_widget.box
Source
Type of widgets displaying a list of widget.
inherit t
method add : ?position:int -> ?expand:bool -> t -> unit
add ?position ?expand widget
adds a widget to the box. If expand
is true
(the default) then widget
will occupy as much space as possible. If position
is not specified then the widget is appended to the end of the widget list. It raises Out_of_range
if the given position is negative or exceed the number of widgets.
method remove : t -> unit
remove widget
remove a widget from the box.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>