MCPcopy Index your code
hub / github.com/alibaba/lowcode-engine / setDragging

Method setDragging

packages/utils/src/cursor.ts:6–12  ·  view source on GitHub ↗
(flag: boolean)

Source from the content-addressed store, hash-verified

4 private states = new Set<string>();
5
6 setDragging(flag: boolean) {
7 if (flag) {
8 this.addState('dragging');
9 } else {
10 this.removeState('dragging');
11 }
12 }
13
14 setXResizing(flag: boolean) {
15 if (flag) {

Callers 2

setDraggingStateMethod · 0.80
setDraggingStateMethod · 0.80

Calls 2

addStateMethod · 0.95
removeStateMethod · 0.95

Tested by

no test coverage detected