Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/gridstack/gridstack.js
/ add
Method
add
angular/projects/demo/src/app/simple.ts:37–39 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
35
}
36
37
public add() {
38
this.grid.addWidget({w: 3, content:
'new content'
});
39
}
40
public delete() {
41
this.grid.removeWidget(this.grid.engine.nodes[0].el!);
42
}
Callers
nothing calls this directly
Calls
1
addWidget
Method · 0.80
Tested by
no test coverage detected