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
Text styles
Colors
val default : color
val index : int -> color
val rgb : int -> int -> int -> color
rgb r g b
raises Invalid_argument
if one of r
, g
or b
is not in the range 0..255
.
Standard colors
val black : color
val red : color
val green : color
val yellow : color
val blue : color
val magenta : color
val cyan : color
val white : color
Light colors
val lblack : color
val lred : color
val lgreen : color
val lyellow : color
val lblue : color
val lmagenta : color
val lcyan : color
val lwhite : color
Styles
type t = {
bold : bool option;
underline : bool option;
blink : bool option;
reverse : bool option;
foreground : color option;
background : color option;
}
Type of text styles.
val bold : t -> bool option
val underline : t -> bool option
val blink : t -> bool option
val reverse : t -> bool option
val none : t
Style with all fields set to None
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page