Selektor metod tworzenia.setMaxItems
Określa maksymalną liczbę elementów, które użytkownik może wybrać.
Podpis
setMaxItems(max: number): PickerBuilder;
Szczegóły
Opcjonalnie |
Nie |
Finał |
Nie |
Chroniony |
Nie |
Statyczny |
Nie |
Parametry
Nazwa |
Typ |
Opcjonalnie |
Opis |
max |
number |
Nie |
|
Zwroty
PickerBuilder
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-11-07 UTC.
[null,null,["Ostatnia aktualizacja: 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."]]],[]]