Documentation

addDropZone

adds uploader drop zone to any HTML element of the page

void addDropZone(HTMLElement element);

Parameters

elementHTMLElementHTML element

See also

Example

$$("uploadAPI").addDropZone($$("mylist").$view);

Details

By default, you can drop files over the upload button.

This method allows defining any area as uploader drop zone while the uploader itself is set to apiOnly.

Back to top