तरीका PickerBuilder.setMaxItem
इससे यह तय होता है कि उपयोगकर्ता ज़्यादा से ज़्यादा कितने आइटम चुन सकता है.
हस्ताक्षर
setMaxItems(max: number): PickerBuilder;
विवरण
वैकल्पिक |
नहीं |
फ़ाइनल |
नहीं |
सुरक्षित सेक्स |
नहीं |
स्थिर |
नहीं |
पैरामीटर
नाम |
टाइप |
वैकल्पिक |
ब्यौरा |
max |
number |
नहीं |
|
रिटर्न
PickerBuilder
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-11-07 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-11-07 (UTC) को अपडेट किया गया."],[[["Sets the maximum number of items a user can select in a picker."],["This method is not optional, final, protected, or static."],["It accepts a single required parameter, `max`, which is a number representing the maximum selectable items."],["Using this method returns a `PickerBuilder` object for further configuration."]]],[]]