mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-22 09:48:06 +00:00
18 lines
304 B
JavaScript
18 lines
304 B
JavaScript
const { Plugin } = require('@uppy/core')
|
|
|
|
module.exports = class StatusBar extends Plugin {
|
|
constructor (uppy, opts) {
|
|
super(uppy, opts)
|
|
|
|
this.id = opts.id
|
|
this.type = 'progressindicator'
|
|
}
|
|
|
|
install () {
|
|
this.opts.onInstall()
|
|
}
|
|
|
|
uninstall () {
|
|
this.opts.onUninstall()
|
|
}
|
|
}
|