MCPcopy Create free account
hub / github.com/esengine/esengine / removeChildrenToPool

Method removeChildrenToPool

packages/fairygui/src/widgets/GList.ts:269–277  ·  view source on GitHub ↗
(beginIndex: number = 0, endIndex: number = -1)

Source from the content-addressed store, hash-verified

267 }
268
269 public removeChildrenToPool(beginIndex: number = 0, endIndex: number = -1): void {
270 if (endIndex < 0 || endIndex >= this.numChildren) {
271 endIndex = this.numChildren - 1;
272 }
273
274 for (let i = beginIndex; i <= endIndex; ++i) {
275 this.removeChildToPoolAt(beginIndex);
276 }
277 }
278
279 // Selection
280

Callers 3

numItemsMethod · 0.95
constructorMethod · 0.80
clearItemsMethod · 0.80

Calls 1

removeChildToPoolAtMethod · 0.95

Tested by

no test coverage detected