Una scheda che può essere visualizzata come elemento del carosello.
Disponibile per i componenti aggiuntivi di Google Workspace e le app Google Chat.
const carouselCard = CardService.newCarouselCard() .addWidget( CardService.newTextParagraph().setText('a text paragraph in the carousel card')) .addFooterWidget( CardService.newTextParagraph().setText('a text paragraph in the carousel card footer'));
Metodi
| Metodo | Tipo restituito | Breve descrizione | 
|---|---|---|
| add | Carousel | Aggiunge il widget specificato al piè di pagina di questa scheda carosello. | 
| add | Carousel | Aggiunge il widget specificato a questa scheda carosello. | 
Documentazione dettagliata
add
Aggiunge il widget specificato a questa scheda carosello. I widget vengono visualizzati nell'ordine in cui sono stati aggiunti.
const carouselCard = CardService.newCarouselCard() .addWidget( CardService.newTextParagraph().setText('a text paragraph in the carousel card'));
Parametri
| Nome | Tipo | Descrizione | 
|---|---|---|
| widget | Widget | Un widget da aggiungere alla scheda carosello. | 
Invio
Carousel: questo oggetto, per l'accodamento.