Try Install Learn Blog API Packages GitHub
Pages

Ui.DefinitionList

A definition list component.

States

data
:
Set(Number)
=
Set.empty()

The data for the state.

Properties

headers
:
Array(String)
=
[]

The data for the headers.

rows
:
Array(Tuple(String, Array(Ui.Cell)))
=
[]

The data for the rows.

size
:
Ui.Size
=
Ui.Size::Inherit

The size of the list.

Functions

handleClick
(
index
:
Number
)
:
Function(Promise(Void))
render
:
Html

Renders the list.