@scaleflex/widget-onedrive
v4.6.0
Published
Import files from OneDrive, into Scaleflex.
Keywords
Readme
@scaleflex/widget-onedrive
The OneDrive plugin for Scaleflex Media Asset Widget lets users import files from their OneDrive account.
Usage
NPM
npm install --save @scaleflex/widget-onedriveYARN
yarn add @scaleflex/widget-onedrivethen
import OneDrive from '@scaleflex/widget-onedrive'
...
...
...
scaleflexWidget.use(OneDrive, propertiesObject)CDN
The plugin from CDN is found inside Scaleflex global object Scaleflex.OneDrive
const oneDrive = window.ScaleflexWidget.OneDrive
...
...
...
scaleflexWidget.use(oneDrive, propertiesObject)Properties
title
Type: string
Default: 'OneDrive'
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.
