6 lines
179 B
JavaScript
6 lines
179 B
JavaScript
const dragFileLink = document.getElementById('drag-file-link')
|
|
|
|
dragFileLink.addEventListener('dragstart', event => {
|
|
event.preventDefault()
|
|
window.electronAPI.dragStart()
|
|
})
|