mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-23 02:08:30 +00:00
13 lines
354 B
JavaScript
13 lines
354 B
JavaScript
import Plugin from './Plugin'
|
|
import DragDrop from './DragDrop'
|
|
import Tus10 from './Tus10'
|
|
|
|
export default class TransloaditBasic extends Plugin {
|
|
constructor (core, opts) {
|
|
super(core, opts)
|
|
this.type = 'presetter'
|
|
this.core
|
|
.use(DragDrop, {modal: true, wait: true})
|
|
.use(Tus10, {endpoint: 'http://master.tus.io:8080'})
|
|
}
|
|
}
|