package textutils
Text output utilities
Install
Dune Dependency
Authors
Maintainers
Sources
textutils-v0.13.0.tar.gz
sha256=e61fc1f7aea9faef3a38c996e6287e1c03f3ddf1dffe6b3596ba95f020e57b40
md5=90123c1e72d94adbde4727a59e8e6a63
doc/textutils.ascii_table/Ascii_table/Column/index.html
Module Ascii_table.Column
val create :
?align:Align.t ->
?min_width:int ->
?max_width:int ->
?show:[ `Yes | `No | `If_not_empty ] ->
string ->
('a -> string) ->
'a t
creates a column given the header and the to-string function
val create_attr :
?align:Align.t ->
?min_width:int ->
?max_width:int ->
?show:[ `Yes | `No | `If_not_empty ] ->
string ->
('a -> Attr.t list * string) ->
'a t
like create, except that the to_string function must provide a list of attributes.
val header : 'a t -> string
val to_data : 'a t -> 'a -> Console.Ansi.attr list * string list
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>