Enum ChipListLayout
ChipListLayout
An enum that specifies the layout for ChipList
.
WRAPPED
is the default; chips wrap to the next line if there isn't enough
horizontal space. HORIZONTAL_SCROLLABLE
chips scroll horizontally if they don't fit
in the available space.
To call an enum, you call its parent class, name, and property. For example,
CardService.ChipListLayout.WRAPPED
.
Properties
Property | Type | Description |
WRAPPED | Enum | The chip list wraps to the next line if there isn't enough horizontal space. Default. |
HORIZONTAL_SCROLLABLE | Enum | The chips scroll horizontally if they don't fit in the available space. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-02 UTC.
[null,null,["Last updated 2024-12-02 UTC."],[[["`ChipListLayout` is an enum used to define the layout of a `ChipList` within Google Apps Script's Card Service."],["It offers two layout options: `WRAPPED` (default) where chips wrap to the next line when space is limited, and `HORIZONTAL_SCROLLABLE` where chips scroll horizontally if they exceed the available space."],["To use these options, call the enum through its parent class and property, like `CardService.ChipListLayout.WRAPPED`."]]],[]]