ListItem
A list item, where each list item can contain multiple TextFormatElement
.
Only available for Google Workspace add-ons that extend Google Workspace Studio.
const listItem = AddOnsResponseService . newListItem () . addTextFormatElements ( AddOnsResponseService . newStyledText ());
Methods
| Method | Return type | Brief description |
|---|---|---|
List
|
Adds a Text
to the list item. |
Detailed documentation
addTextFormatElement(textFormatElement)
Adds a TextFormatElement
to the list item.
Parameters
| Name | Type | Description |
|---|---|---|
text
|
Text
|
The Text
to add to the list item. |
Return
ListItem
— This list item object, for chaining.

