MCPcopy Index your code
hub / github.com/gridstack/gridstack.js / beginUpdate

Method beginUpdate

src/gridstack-engine.ts:993–1000  ·  view source on GitHub ↗
(node: GridStackNode)

Source from the content-addressed store, hash-verified

991 }
992
993 public beginUpdate(node: GridStackNode): GridStackEngine {
994 if (!node._updating) {
995 node._updating = true;
996 delete node._skipDown;
997 if (!this.batchMode) this.saveInitial();
998 }
999 return this;
1000 }
1001
1002 public endUpdate(): GridStackEngine {
1003 const n = this.nodes.find(n => n._updating);

Callers 2

moveNodeMethod · 0.80
_onStartMovingMethod · 0.80

Calls 1

saveInitialMethod · 0.95

Tested by

no test coverage detected