Skip to content
pixi-silk
GitHub repository
Interface

DropTarget

import type { DropTarget } from 'pixi-silk/ui/layers';

Where a drop lands.

Type Parameters#

Type Parameter
T

Properties#

PropertyTypeDescriptionDefined in
depthnumberDepth of the dropped rows, where the indicator line starts.ui/panels/tree.ts:120
indexnumberIndex among the parent’s children, in display order, before anything is moved.ui/panels/tree.ts:114
parentTThe new parent.ui/panels/tree.ts:112
position"inside" | "before" | "after"Between rows (before or after the row) or inside it.ui/panels/tree.ts:116
rownumberThe row the indicator is drawn at.ui/panels/tree.ts:118