Method PickerBuilder.enableFeature
เปิดใช้ฟีเจอร์เครื่องมือเลือก
ตัวอย่าง
การใช้งานพื้นฐาน
const builder = new google.pickerPickerBuilder()
.enableFeature(google.picker.Feature.MULTISELECT_ENABLED)
.enableFeature(google.picker.Feature.MINE_ONLY);
ลายเซ็น
enableFeature(feature: Feature): PickerBuilder;
รายละเอียด
ไม่บังคับ |
ไม่ |
รอบชิงชนะเลิศ |
ไม่ |
มีการป้องกัน |
ไม่ |
คงที่ |
ไม่ |
พารามิเตอร์
ชื่อ |
ประเภท |
ไม่บังคับ |
คำอธิบาย |
feature |
Feature |
ไม่ |
|
การคืนสินค้า
PickerBuilder
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-11-09 UTC
[null,null,["อัปเดตล่าสุด 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."]]],[]]