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

Method modify

angular/projects/demo/src/app/app.component.ts:192–194  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

190 if (node) grid.removeWidget(node.el!);
191 }
192 public modify() {
193 this.gridComp?.grid?.update(this.gridComp?.grid.engine.nodes[0]?.el!, {w:3})
194 }
195 public newLayout() {
196 this.gridComp?.grid?.load([
197 {x:0, y:1, id:'1', minW:1, w:1}, // new size/constrain

Callers

nothing calls this directly

Calls 1

updateMethod · 0.80

Tested by

no test coverage detected