Enum ChipListLayout
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
チップリスト レイアウトChipList
のレイアウトを指定する列挙型。
WRAPPED
はデフォルトです。水平方向のスペースが足りない場合、チップは次の行に折り返されます。HORIZONTAL_SCROLLABLE
チップは、使用可能なスペースに収まらない場合は水平方向にスクロールします。
列挙型を呼び出すには、その親クラス、名前、プロパティを呼び出します。たとえば、
CardService.ChipListLayout.WRAPPED
です。
プロパティ
プロパティ | タイプ | 説明 |
WRAPPED | Enum | 水平方向のスペースが十分でない場合、チップリストは次の行に折り返されます。デフォルトです。 |
HORIZONTAL_SCROLLABLE | Enum | チップが使用可能なスペースに収まらない場合は、水平方向にスクロールします。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 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. |"]]