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/Of_field/index.html
Module Column.Of_field
Source
This module is used for constructing lists of 'a t
s from a record's fields. The intention is to use Fields.to_list
to obtain a list.
Source
val field :
?align:Align.t ->
?min_width:int ->
?max_width:int ->
?show:[ `Yes | `No | `If_not_empty ] ->
?header:string ->
('field -> string) ->
('record, 'field) Core.Field.t ->
'record t
Create a column based on a field of a record.
Source
val field_attr :
?align:Align.t ->
?min_width:int ->
?max_width:int ->
?show:[ `Yes | `No | `If_not_empty ] ->
?header:string ->
('field -> Ansi_kernel.Attr.t list * string) ->
('record, 'field) Core.Field.t ->
'record t
field_attr
is to field
as create_attr
is to create
.
Source
val field_opt :
?align:Align.t ->
?min_width:int ->
?max_width:int ->
?show:[ `Yes | `No | `If_not_empty ] ->
?header:string ->
('field -> string) ->
('record, 'field option) Core.Field.t ->
'record t
Like field
, but defaults to ""
if None
Source
val field_opt_attr :
?align:Align.t ->
?min_width:int ->
?max_width:int ->
?show:[ `Yes | `No | `If_not_empty ] ->
?header:string ->
('field -> Ansi_kernel.Attr.t list * string) ->
('record, 'field option) Core.Field.t ->
'record t
Like field_attr
, but defaults to ([], "")
if None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>