488 B
488 B
| title | description |
|---|---|
| useLayerDrag | Drag-and-drop wiring helper for layer tree reordering. |
useLayerDrag
useLayerDrag(editor, indentPerLevel?) wires pragmatic-drag-and-drop behavior for layer tree rows and maps drop instructions to editor reorder operations.
Use it when extending or replacing the default layer-tree drag UI.