@filerobot/provider-views
View library for Uploader remote provider plugins.
Uploader is being developed by the folks at Transloadit, a versatile file encoding service.
Example
import Plugin from '@filerobot/core/lib/plugin'
import ProviderViews from '@filerobot/provider-views'
class GoogleDrive extends Plugin {
constructor () { }
install () {
this.view = new ProviderViews(this)
}
onFirstRender () {
return this.view.getFolder('root', '/')
}
render (state) {
return this.view.render(state)
}
}
Installation
Unless you are creating a custom provider plugin, you do not need to install this.
$ npm install @filerobot/provider-views --save
License
The MIT License.