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

Function find

spec/gridstack-spec.ts:9–11  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

7 let grid: GridStack;
8 let grids: GridStack[];
9 let find = function(id: string): GridStackNode {
10 return grid.engine.nodes.find(n => n.id === id)!;
11 };
12 let findEl = function(id: string): GridItemHTMLElement {
13 return find(id).el!;
14 };

Callers 2

findElFunction · 0.85
gridstack-spec.tsFile · 0.85

Calls 1

findMethod · 0.80

Tested by

no test coverage detected