@scaleflex/widget-google-drive
v4.8.13
Published
Google Drive plugin for Scaleflex Widget lets users import files from their Google Drive account into Scaleflex
Keywords
Readme
@scaleflex/widget-google-drive
The Google Drive plugin for Scaleflex Media Asset Widget lets users import files from their Google Drive account.
Usage
NPM
npm install --save @scaleflex/widget-google-driveYARN
yarn add @scaleflex/widget-google-drivethen
import GoogleDrive from '@scaleflex/widget-google-drive'
...
...
...
scaleflexWidget.use(GoogleDrive, propertiesObject)CDN
The plugin from CDN is found inside Scaleflex global object Scaleflex.GoogleDrive
const googleDrive = window.ScaleflexWidget.GoogleDrive
...
...
...
scaleflexWidget.use(googleDrive, propertiesObject)Properties
title
Type: string
Default: 'Google Drive'
The title/label that would be shown & used for the plugin.
companionHeaders
Type: null | object
Default: null
If you need to pass additional headers for in companion requests then pass them in this property.
