mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-02 19:43:20 +08:00
[google.picker] Add setMaxItems method to the PickerBuilder (#24896)
This commit is contained in:
committed by
Mohamed Hegazy
parent
ddfe9e664b
commit
47ba52eb87
3
types/google.picker/index.d.ts
vendored
3
types/google.picker/index.d.ts
vendored
@@ -47,6 +47,9 @@ declare namespace google {
|
||||
// ISO 639 language code. If the language is not supported, en-US is used. This method provides an alternative to setting the locale at google.load() time. See the Developer's Guide for a list of supported locales.
|
||||
setLocale(locale:string):PickerBuilder;
|
||||
|
||||
// Sets the maximum number of items a user can pick.
|
||||
setMaxItems(max: number):PickerBuilder;
|
||||
|
||||
// Sets an OAuth token to use for authenticating the current user. Depending on the scope of the token, only certain views will display data. Valid scopes are Google Docs, Drive, Photos, YouTube.
|
||||
setOAuthToken(token:string):PickerBuilder;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user