package mosaic
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Terminal UI framework for OCaml with The Elm Architecture
Install
dune-project
Dependency
Authors
Maintainers
Sources
mosaic-0.1.0.tbz
sha256=9e4e90d17f9b2af1b07071fe425bc2c519c849c4f1d1ab73cde512be2d874849
sha512=06e9c4a741590942e81a27738d0b5c0413fafec8cf3b7dae047ad69f155e7b718aa4223818dc161b7d028efffcfd3365905e264d6fd31d453910ddfa91dcf9b9
doc/mosaic.ui/Mosaic_ui/Text/Fragment/index.html
Module Text.Fragment
type t = fragmentval text : ?style:Ansi.Style.t -> string -> ttext ?style s is a text fragment containing s. When style is provided, it overrides the inherited style for this fragment.
val span : ?style:Ansi.Style.t -> t list -> tspan ?style children is a container grouping children under an optional shared style.
Attribute builders
Each wraps children in a span with a single attribute set.
Combination builders
Color builders
val fg : Ansi.Color.t -> t list -> tfg color children sets the foreground color.
val bg : Ansi.Color.t -> t list -> tbg color children sets the background color.
val color : Ansi.Color.t -> t list -> tcolor is fg.
val bg_color : Ansi.Color.t -> t list -> tbg_color is bg.
val styled : Ansi.Style.t -> t list -> tstyled style children wraps children with the full style.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page