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

Method removeState

packages/utils/src/cursor.ts:55–60  ·  view source on GitHub ↗
(state: string)

Source from the content-addressed store, hash-verified

53 }
54
55 private removeState(state: string) {
56 if (this.states.has(state)) {
57 this.states.delete(state);
58 document.documentElement.classList.remove(`lc-cursor-${state}`);
59 }
60 }
61}
62
63export const cursor = new Cursor();

Callers 5

setDraggingMethod · 0.95
setXResizingMethod · 0.95
setYResizingMethod · 0.95
setCopyMethod · 0.95
releaseMethod · 0.95

Calls 3

hasMethod · 0.65
deleteMethod · 0.65
removeMethod · 0.65

Tested by

no test coverage detected