addDropZone

adds uploader drop zone to any HTML element of the page

void addDropZone(HTMLElement element,string hover_text);
elementHTMLElementHTML element
hover_textstringthe text shown on dragging over the drop zone

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