3.114.5 • Published 1 year ago
@filerobot/onedrive
Licence
MIT
Version
3.114.5
Deps
4
Size
160 kB
Vulns
0
Weekly
0
DeprecatedThis package is deprecated
@filerobot/onedrive
The OneDrive plugin for Filerobot Media Asset Widget lets users import files from their OneDrive account.
Usage
NPM
npm install --save @filerobot/onedrive
YARN
yarn add @filerobot/onedrive
then
import OneDrive from '@filerobot/onedrive'
...
...
...
filerobot.use(OneDrive, propertiesObject)
CDN
The plugin from CDN is found inside Filerobot global object Filerobot.OneDrive
const oneDrive = window.Filerobot.OneDrive
...
...
...
filerobot.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.