To focus the search input from anywhere on the page, press the 'S' key.
in-package search v0.1.0
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
One-line text widget.
A Label
is a widget for displaying a single line of text.
Dependency graph
val create :
?size:int ->
?font:font ->
?style:style ->
?fg:Draw.color ->
?align:Draw.align ->
string ->
t
Create a new Label.t
. Most of the time, you'd rather want to create a Widget.t
by using Widget.label
.
val icon : ?size:int -> ?fg:Draw.color -> string -> t
Create a Label.t
using the name of a FontAwesome symbol. Most of the time, you'd rather want to create a Widget.t
by using Widget.icon
.
val set : t -> string -> unit
Modify the text of the label. Does nothing if the given text is already the same as the label's previous text.
val set_fg_color : t -> Draw.color -> unit
Modify the color of the text.
val size : t -> int * int
Return the logical size (w,h). Warning, a +/- 1 error can be observed due to rounding.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page