LmnDragStartEvent
Generic types: | DRAGGABLE_DATA DROP_AREA_DATA |
A drag start event.
Presentation
type LmnDragStartEvent = Prettify <
LmnDragDropEvent <DRAGGABLE_DATA, DROP_AREA_DATA> & {
/** Set the allowed effect for drop area. */
setAllowedEffect: (effect : DataTransfer["effectAllowed"]) => void;
/** The DOM Element containing the preview, which is a copy of the draggable element or a custom preview LmnDragPreview. (Multiple previews will be present as children of this element if grouped drag and drop) */
previewWrapper: HTMLElement;
}
>;