package textutils
Text output utilities
Install
Dune Dependency
Authors
Maintainers
Sources
textutils-v0.14.0.tar.gz
sha256=14a2f8393159fcc43bfac82d0100364dc874fee94447aced80ec8ae99e2949eb
md5=32980ca8c5c6128273bb6f662efc7c60
doc/textutils.ascii_table_kernel/Ascii_table_kernel/Column/Of_field/index.html
Module Column.Of_field
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.
val field :
?align:Align.t ->
?min_width:int ->
?max_width:int ->
?show:[ `Yes | `No | `If_not_empty ] ->
?header:string ->
('field -> string) ->
('record, 'field) Core_kernel.Field.t ->
'record t
Create a column based on a field of a record.
val field_attr :
?align:Align.t ->
?min_width:int ->
?max_width:int ->
?show:[ `Yes | `No | `If_not_empty ] ->
?header:string ->
('field -> Attr.t list * string) ->
('record, 'field) Core_kernel.Field.t ->
'record t
field_attr
is to field
as create_attr
is to create
.
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_kernel.Field.t ->
'record t
Like field
, but defaults to ""
if None
val field_opt_attr :
?align:Align.t ->
?min_width:int ->
?max_width:int ->
?show:[ `Yes | `No | `If_not_empty ] ->
?header:string ->
('field -> Attr.t list * string) ->
('record, 'field option) Core_kernel.Field.t ->
'record t
Like field_attr
, but defaults to ([], "")
if None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>