Enum ChipListLayout
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
ChipListeLayout
Ein Enum, das das Layout für ChipList
angibt.
WRAPPED
ist der Standardwert. Wenn nicht genügend horizontaler Platz vorhanden ist, werden die Chips in die nächste Zeile umgebrochen. HORIZONTAL_SCROLLABLE
-Chips werden horizontal gescrollt, wenn sie nicht in den verfügbaren Bereich passen.
Wenn Sie ein Enum aufrufen möchten, rufen Sie die übergeordnete Klasse, den Namen und die Eigenschaft auf. Beispiel:
CardService.ChipListLayout.WRAPPED
.
Attribute
Attribut | Typ | Beschreibung |
WRAPPED | Enum | Wenn nicht genügend horizontaler Platz vorhanden ist, wird die Chipliste in die nächste Zeile umgebrochen. Standard. |
HORIZONTAL_SCROLLABLE | Enum | Die Chips werden horizontal gescrollt, wenn sie nicht in den verfügbaren Bereich passen. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-26 (UTC)."],[[["\u003cp\u003e\u003ccode\u003eChipListLayout\u003c/code\u003e is an enum used to define the layout of a \u003ccode\u003eChipList\u003c/code\u003e within Google Apps Script's Card Service.\u003c/p\u003e\n"],["\u003cp\u003eIt offers two layout options: \u003ccode\u003eWRAPPED\u003c/code\u003e (default) where chips wrap to the next line when space is limited, and \u003ccode\u003eHORIZONTAL_SCROLLABLE\u003c/code\u003e where chips scroll horizontally if they exceed the available space.\u003c/p\u003e\n"],["\u003cp\u003eTo use these options, call the enum through its parent class and property, like \u003ccode\u003eCardService.ChipListLayout.WRAPPED\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum ChipListLayout\n\nChipListLayout\n\nAn enum that specifies the layout for [ChipList](/apps-script/reference/card-service/chip-list).\n\n\n`WRAPPED` is the default; chips wrap to the next line if there isn't enough\nhorizontal space. `HORIZONTAL_SCROLLABLE` chips scroll horizontally if they don't fit\nin the available space.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCardService.ChipListLayout.WRAPPED`. \n\n### Properties\n\n| Property | Type | Description |\n|-------------------------|--------|---------------------------------------------------------------------------------------|\n| `WRAPPED` | `Enum` | The chip list wraps to the next line if there isn't enough horizontal space. Default. |\n| `HORIZONTAL_SCROLLABLE` | `Enum` | The chips scroll horizontally if they don't fit in the available space. |"]]