Function: a!richTextListItem()
Displays a nested list within a bulleted or numbered list in a Rich Text component.
Parameters
Name | Keyword | Type | Description |
---|---|---|---|
Text | text | Text or Styled Text | Array of text to display as a rich text list item. Text can be formatted using a!richTextItem() . |
Nested List | nestedList | Bulleted List or Numbered List | A bulleted or numbered list to nest within the rich text list item. Use a!richTextBulletedList() or a!richTextNumberedList() |
Visibility | showWhen | Boolean | Determines whether the component is displayed on the interface. When set to false, the component is hidden and is not evaluated. Default: true. |
Notes
Example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
=a!richTextDisplayField(
labelPosition: "COLLAPSED",
value: {
a!richTextBulletedList(
items: {
"a",
a!richTextListItem(
text: "b",
nestedList: a!richTextBulletedList(
items: {
"c",
a!richTextListItem(
text: "d",
nestedList: a!richTextBulletedList(
items: {
a!richTextListItem(
text: "e",
nestedList: a!richTextBulletedList(
items: {
"f",
"g"
}
)
)
}
)
)
}
)
),
"h",
a!richTextListItem(
text: "i",
nestedList: a!richTextBulletedList(
items: {
"j",
"k"
}
)
)
}
)
}
)
Displays the following: