MCPcopy Create free account
hub / github.com/editablejs/editable / useTableDragCount

Function useTableDragCount

packages/plugins/table/src/hooks/use-drag.ts:66–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64 * @returns
65 */
66export const useTableDragCount = () => {
67 const drag = useStore(store, state => state.drag)
68
69 return React.useMemo(() => drag?.from.length ?? 0, [drag])
70}
71
72/**
73 * 表格拖拽相关状态操作

Callers 1

DraggingFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…