addDropZone

adds uploader drop zone to any HTML element of the page

void addDropZone(HTMLElement element);
elementHTMLElementHTML element

Example

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

Related samples

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.

See also
Back to top