The DataTransfer.effectAllowed property specifies the effect that is allowed for a drag operation.
DataTransfer.effectAllowed
MDN Reference