Web component: j-DragDropFiles

  • Info
  • HTML
  • JS
  • CSS
  • Meta



Example: data-jc-config="exec:method_name;class:dragover"

  • exec {String} - the component executes this method if the files are dropped
  • class {String} - toggles class if the drag over is emitted
  • click {Boolean} - causes open file dialog when the user click on the element (default: true)
  • accept {String} - change accept attribute, e.g to only accept pdfs set to application/pdf (default: */*)


Browser‘s Save action performs Preview