mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-18 00:55:35 +00:00
Added FakeModal changes
This commit is contained in:
parent
cf7fcc22da
commit
ecff0cea0a
2 changed files with 5 additions and 0 deletions
|
|
@ -119,6 +119,9 @@ export default class Modal extends Plugin {
|
|||
tab.addEventListener('click', event => {
|
||||
event.preventDefault()
|
||||
console.log(tabId)
|
||||
this.core.iteratePlugins(plugin => {
|
||||
console.log('name: ', plugin.name)
|
||||
})
|
||||
this.hideAllTabPanels()
|
||||
this.showTabPanel(tabId)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
import Uppy from '../../../../src/core/Core.js'
|
||||
import Dummy from '../../../../src/plugins/Dummy.js'
|
||||
import GoogleDrive from '../../../../src/plugins/GoogleDrive.js'
|
||||
import Modal from '../../../../src/plugins/Modal.js'
|
||||
|
||||
const uppy = new Uppy({debug: true})
|
||||
uppy
|
||||
.use(Modal)
|
||||
.use(Dummy, {target: Modal})
|
||||
.use(GoogleDrive, {target: Modal})
|
||||
.run()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue