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

Method endUpdate

src/gridstack-engine.ts:1002–1009  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1000 }
1001
1002 public endUpdate(): GridStackEngine {
1003 const n = this.nodes.find(n => n._updating);
1004 if (n) {
1005 delete n._updating;
1006 delete n._skipDown;
1007 }
1008 return this;
1009 }
1010
1011 /** saves a copy of the largest column layout (eg 12 even when rendering 1 column) so we don't loose orig layout, unless explicity column
1012 * count to use is given. returning a list of widgets for serialization

Callers 3

moveNodeMethod · 0.80
_setupAcceptWidgetMethod · 0.80
onEndMovingMethod · 0.80

Calls 1

findMethod · 0.80

Tested by

no test coverage detected