MCPcopy
hub / github.com/mathuo/dockview / doAddGroup

Function doAddGroup

packages/dockview-core/src/gridview/baseComponentGridview.ts:274–283  ·  view source on GitHub ↗
(
        group: T,
        location: number[] = [0],
        size?: number,
        gridview: Gridview = this.gridview
    )

Source from the content-addressed store, hash-verified

272 }
273
274 protected doAddGroup(
275 group: T,
276 location: number[] = [0],
277 size?: number,
278 gridview: Gridview = this.gridview
279 ): void {
280 gridview.addView(group, size ?? Sizing.Distribute, location);
281
282 this._onDidAdd.fire(group);
283 }
284
285 protected doRemoveGroup(
286 group: T,

Callers

nothing calls this directly

Calls 2

fireMethod · 0.65
addViewMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…