dropzone function
An enumerated attribute indicating what types of content can be dropped on an element, using the Drag and Drop API. It can have the following values:
copy
, which indicates that dropping will create a copy of the element that was draggedmove
, which indicates that the element that was dragged will be moved to this new location.link
, will create a link to the dragged data.
Implementation
Attribute<GlobalHTMLAttribute> dropzone(String value) {
return Attribute('dropzone', value);
}