toggle menu
structures
1.5.0
common
switch theme
search in API
structures
/
ink.ui.structures.elements
/
TextListElement
Text
List
Element
@
Serializable
@
SerialName
(
value
=
"text-list"
)
data
class
TextListElement
(
val
items
:
List
<
FormattedText
>
,
val
ordered
:
Boolean
=
false
)
:
UiElement.Static
A bulleted or numbered list of text items.
Members
Members & Extensions
Constructors
Text
List
Element
Link copied to clipboard
constructor
(
vararg
items
:
FormattedText
)
constructor
(
items
:
List
<
FormattedText
>
,
ordered
:
Boolean
=
false
)
Properties
items
Link copied to clipboard
val
items
:
List
<
FormattedText
>
ordered
Link copied to clipboard
val
ordered
:
Boolean
=
false
Functions
render
With
Type
Link copied to clipboard
inline
fun
<
T
:
UiElement
>
UiElement
.
renderWithType
(
block
:
T
.
(
)
->
Unit
)
:
RenderResult