package textutils
Text output utilities
Install
Dune Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=b2681af1f4029245a5c187c4f0834ac470ada6ffc69db7c7e219b3244f88b3d5
doc/textutils.ascii_table_kernel/Ascii_table_kernel/Column/index.html
Module Ascii_table_kernel.Column
Source
Source
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
Source
val create_attr :
?align:Align.t ->
?min_width:int ->
?max_width:int ->
?show:[ `Yes | `No | `If_not_empty ] ->
string ->
('a -> Ansi_kernel.Attr.t list * string) ->
'a t
like create, except that the to_string function must provide a list of attributes.
Source
val create_attrs :
?align:Align.t ->
?min_width:int ->
?max_width:int ->
?show:[ `Yes | `No | `If_not_empty ] ->
string ->
('a -> (Ansi_kernel.Attr.t list * string) list) ->
'a t
like create_attr, except that you can specify many lines with different attributes.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>