Copy events while dragging
Closed this issue · 2 comments
atheck commented
Hi, when dragging an event and pressing the Ctrl key, the cursor changes to indicate a copy action. Is there a way to get this information in the onEventDrop
callback?
aldabil21 commented
in next release, the onEventDrop
will include the DragEvent
you can get the info you need and more, new definition is like:
onEventDrop?(
event: DragEvent<HTMLButtonElement>,
droppedOn: Date,
updatedEvent: ProcessedEvent,
originalEvent: ProcessedEvent
): Promise<ProcessedEvent | void>;
atheck commented
That's great. Thank you!