DropFileToWindow

DropFileToWindow

new DropFileToWindow(elm)

Source:
Parameters:
Name Type Description
elm *

HTML element

Methods

addCss()

Description:
  • Generates styling for drop hover and leave

Source:

preventDefault()

Description:
  • Prevents devault action to be triggered when dropping the file anywhere on the window
    The default action when the files are dropped on a window is to open that file through browser

Source: