Yöntem PickerBuilder.enableFeature
Seçici özelliğini etkinleştirin.
Örnekler
Temel kullanım
const builder = new google.pickerPickerBuilder()
.enableFeature(google.picker.Feature.MULTISELECT_ENABLED)
.enableFeature(google.picker.Feature.MINE_ONLY);
İmza
enableFeature(feature: Feature): PickerBuilder;
Ayrıntılar
İsteğe bağlı |
Hayır |
Final |
Hayır |
Korumalı |
Hayır |
Statik |
Hayır |
Parametreler
Ad |
Tür |
İsteğe bağlı |
Açıklama |
feature |
Feature |
Hayır |
|
İadeler
PickerBuilder
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-11-09 UTC.
[null,null,["Son güncelleme tarihi: 2024-11-09 UTC."],[[["The `enableFeature` method allows developers to activate specific features within the Google Picker, such as multi-select or restricting selections to the user's own files."],["It accepts a single parameter, `feature`, which specifies the feature to enable using the `google.picker.Feature` enumeration."],["This method is a part of the `PickerBuilder` class and can be chained with other builder methods for configuration."],["Calling `enableFeature` returns the `PickerBuilder` instance, allowing for further method chaining."]]],[]]