unlinkDropArea

unlinks an extra drop area from Uploader

void unlinkDropArea(HTMLElement|string el);

Parameters

elHTMLElement|stringthe drop area or its ID

Example

<div id="drophere">DROP HERE</div>
 
// attaches an extra drop area  
vault.uploader.linkDropArea("drophere");
 
// detaches the extra drop area  
vault.uploader.unlinkDropArea("drophere");

Back to top