MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / eachChild

Function eachChild

packages/core/ui/tab-view/tab-view-common.ts:68–73  ·  view source on GitHub ↗
(callback: (child: ViewBase) => boolean)

Source from the content-addressed store, hash-verified

66 }
67
68 public eachChild(callback: (child: ViewBase) => boolean) {
69 const view = this._view;
70 if (view) {
71 callback(view);
72 }
73 }
74
75 public loadView(view: ViewBase): void {
76 const tabView = this.parent as TabViewBase;

Callers

nothing calls this directly

Calls 1

callbackFunction · 0.50

Tested by

no test coverage detected