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