WRAPPED — значение по умолчанию; фишки переносятся на следующую строку, если горизонтального пространства недостаточно. Фишки HORIZONTAL_SCROLLABLE прокручиваются горизонтально, если они не помещаются в доступное пространство.
Чтобы вызвать перечисление, вы вызываете его родительский класс, имя и свойство. Например, CardService.ChipListLayout.WRAPPED .
Характеристики
Свойство
Тип
Описание
WRAPPED
Enum
Список чипов переносится на следующую строку, если недостаточно места по горизонтали. По умолчанию.
HORIZONTAL_SCROLLABLE
Enum
Фишки прокручиваются горизонтально, если не помещаются в доступное пространство.
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2025-07-25 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,["ChipListLayout\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\nProperties\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. |"]]