Method PickerBuilder.enableFeature
Attiva una funzionalità di selettore.
Esempi
Utilizzo di base
const builder = new google.pickerPickerBuilder()
.enableFeature(google.picker.Feature.MULTISELECT_ENABLED)
.enableFeature(google.picker.Feature.MINE_ONLY);
Firma
enableFeature(feature: Feature): PickerBuilder;
Dettagli
Facoltativo |
No |
Finale |
No |
Protetto |
No |
Statica |
No |
Parametri
Nome |
Tipo |
Facoltativo |
Descrizione |
feature |
Feature |
No |
|
Resi
PickerBuilder
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-11-09 UTC.
[null,null,["Ultimo aggiornamento 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."]]],[]]