메서드 PickerBuilder.enableFeature
선택 도구 기능을 사용 설정합니다.
예
기본 사용법
const builder = new google.pickerPickerBuilder()
.enableFeature(google.picker.Feature.MULTISELECT_ENABLED)
.enableFeature(google.picker.Feature.MINE_ONLY);
서명
enableFeature(feature: Feature): PickerBuilder;
세부정보
선택사항 |
아니요 |
종료 |
아니요 |
보호됨 |
아니요 |
정적 |
아니요 |
매개변수
반환 값
PickerBuilder
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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."]]],[]]