Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
CarouselCard
Carte pouvant être affichée en tant qu'élément de carrousel.
Disponible pour les modules complémentaires Google Workspace et les applications Google Chat.
constcarouselCard=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'));
Ajoute le widget donné à cette fiche de carrousel.
Documentation détaillée
addFooterWidget(widget)
Ajoute le widget donné au pied de cette fiche de carrousel. Les widgets s'affichent dans l'ordre dans lequel ils ont été ajoutés.
constcarouselCard=CardService.newCarouselCard().addFooterWidget(CardService.newTextParagraph().setText('a text paragraph in the carousel card footer'));
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/01/30 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/01/30 (UTC)."],[[["CarouselCard is a type of card designed for use in carousels within Google Workspace add-ons and Google Chat apps."],["The `addFooterWidget(widget)` method lets you add a widget to the footer area of the CarouselCard, with widgets displayed in the order they are added."],["The `addWidget(widget)` method is used to add a widget to the main content area of the CarouselCard, and widgets are shown in the order added."],["CarouselCard is accessible as part of the Google Workspace Developer Preview Program, allowing developers to get early access to features."]]],[]]