Skip to main content

unlinkDropArea()

unlinks an extra drop area from Uploader

unlinkDropArea(el?: HTMLElement | string): void;

Parameters:

  • el: HTMLElement | string - the 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");