Enum ChipListLayout
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
चिपसूचीलेआउट
एक एनम, जो ChipList
के लेआउट के बारे में बताता है.
WRAPPED
डिफ़ॉल्ट तौर पर लागू होता है. अगर चिप के लिए ज़रूरत के मुताबिक हॉरिज़ॉन्टल स्पेस नहीं है, तो वे अगली लाइन पर रैप हो जाते हैं. HORIZONTAL_SCROLLABLE
चिप, उपलब्ध जगह में फ़िट न होने पर, हॉरिज़ॉन्टल तौर पर स्क्रोल होते हैं.
किसी एनम को कॉल करने के लिए, उसकी पैरंट क्लास, नाम, और प्रॉपर्टी को कॉल किया जाता है. उदाहरण के लिए,
CardService.ChipListLayout.WRAPPED
.
प्रॉपर्टी
प्रॉपर्टी | टाइप | ब्यौरा |
WRAPPED | Enum | अगर हॉरिज़ॉन्टल तौर पर ज़रूरत के मुताबिक जगह नहीं है, तो चिप की सूची अगली लाइन पर दिखती है. डिफ़ॉल्ट. |
HORIZONTAL_SCROLLABLE | Enum | अगर चिप, उपलब्ध जगह में फ़िट नहीं होते हैं, तो वे हॉरिज़ॉन्टल तौर पर स्क्रोल होते हैं. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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. |"]]