Class ListItem

List Item

A list item, where each list item can contain multiple Text Format Element .

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 Item Adds a Text Format Element to the list item.

Detailed documentation

add Text Format Element(textFormatElement)

Adds a Text Format Element to the list item.

Parameters

Name Type Description
text Format Element
Text Format Element The Text Format Element to add to the list item.

Return

List Item — This list item object, for chaining.

Design a Mobile Site
View Site in Mobile | Classic
Share by: