Constructor
new Dropzone(txt, fontSize, onDrop, onDragover, onSelect)
Parameters:
Name | Type | Description |
---|---|---|
txt |
string | the text in the dropzone |
fontSize |
number | expressed in pt |
onDrop |
function | function for the ondrop event |
onDragover |
function | function for the ondragover event |
onSelect |
function | function called when a file(s) is selected. Passes this file(s) to the function |
- Source: