Selects which mode the view will use to display the documents.
If using a scope other than https://www.googleapis.com/auth/drive
or
https://www.googleapis.com/auth/drive.readonly
, it is recommended to use
DocsViewMode.LIST
as the user has not granted access to thumbnails.
Signature
setMode(mode: DocsViewMode): DocsView;
Details
Optional | No |
---|---|
Final | No |
Protected | No |
Static | No |
Parameters
Name | Type | Optional | Description |
---|---|---|---|
mode |
DocsViewMode |
No |