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

Function eachChild

packages/core/ui/text-base/text-base-common.ts:214–219  ·  view source on GitHub ↗
(callback: (child: ViewBase) => boolean)

Source from the content-addressed store, hash-verified

212 }
213
214 eachChild(callback: (child: ViewBase) => boolean): void {
215 const text = this.formattedText;
216 if (text) {
217 callback(text);
218 }
219 }
220
221 _setNativeText(reset = false): void {
222 //

Callers

nothing calls this directly

Calls 1

callbackFunction · 0.50

Tested by

no test coverage detected