Web Component: j-DragDropElement
j-DragDropElement
On drag event displays modal inside given element with text Drop & drop files here. On moving dragged files away from element or dropping dragged files modal will hide. Also on drop event exec function is executed.
Configuration
exec{String}the component executes this method if the files are dropped -function(files, e, component)text{String}text to display (defaultempty)
Example
<ui-component name="dragdropelement" config="exec:console.log;"></ui-component>
Author
- Michal Capo capo@dasolutions.sk and Marek Dorotovič marek@totaljs.com
- License
Created
29. january 2019
Updated
13. may 2025
jComponent library
19 | 20
Version
v1
License
https://www.totaljs.com/license/
Responsive
Yes
Author
Michal Capo
Email
capo@dasolutions.sk

