Enum ChipListLayout
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
چیپ لیست چیپ شماره ای که چیدمان Chip List
را مشخص می کند.
WRAPPED
پیش فرض است. اگر فضای افقی کافی وجود نداشته باشد، تراشه ها به خط بعدی می رسند. اگر تراشههای HORIZONTAL_SCROLLABLE
در فضای موجود جا نشوند، بهصورت افقی حرکت میکنند.
برای فراخوانی یک enum، کلاس والد، نام و ویژگی آن را فراخوانی می کنید. به عنوان مثال، CardService.ChipListLayout.WRAPPED
.
خواص
اموال | تایپ کنید | توضیحات |
---|
WRAPPED | Enum | اگر فضای افقی کافی وجود نداشته باشد، لیست تراشه ها به خط بعدی می رسد. پیش فرض |
HORIZONTAL_SCROLLABLE | Enum | اگر تراشه ها در فضای موجود جا نشوند، به صورت افقی حرکت می کنند. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[[["\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. |"]]