npm.io
3.114.5 • Published 1 year ago

@filerobot/box

Licence
MIT
Version
3.114.5
Deps
4
Size
155 kB
Vulns
0
Weekly
0
DeprecatedThis package is deprecated

@filerobot/box

Plugins Website Version Scaleflex team License CodeSandbox

Filerobot Widget logo

The Box plugin for Filerobot Media Asset Widget lets users import files from their Box account.

Usage

NPM

npm install --save @filerobot/box
YARN
yarn add @filerobot/box

then

import Box from '@filerobot/box'
...
...
...
filerobot.use(Box, propertiesObject)
CDN

The plugin from CDN is found inside Filerobot global object Filerobot.Box

const box = window.Filerobot.Box
...
...
...
filerobot.use(box, propertiesObject)

Properties

title

Type: string.

Default: Box

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.