StencilDragParams
Arguments passed to the drag-lifecycle callbacks while a clone is dragged from the stencil: StencilEventHandlers.onCellDragStart, StencilEventHandlers.onCellDrag, and StencilEventHandlers.onCellDragEnd. Carries the dragged clone, the live pointer event, and the resolved drop geometry.
Properties
dragPaper
readonly dragPaper: Paper;
The stencil's drag paper (where the clone is rendered while dragging).
dropArea
readonly dropArea: Rect;
Pointer-aligned drop rectangle in main paper coords.
event
readonly event: StencilEvent;
Pointer event for this drag frame.
graph
readonly graph: Graph;
Convenience alias for paper.model.
isValidDrop
readonly isValidDrop: boolean;
true when the pointer is over a valid drop area (paper minus hostEl).
model
readonly model: Element;
The dragged cell's model (the clone, not the stencil source).
paper
readonly paper: Paper;
Main paper (drop target): unwrapped from ui.PaperScroller.
stencil
readonly stencil: StencilView;
Stencil instance.