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

Method getFrameById

packages/core/ui/frame/frame-common.ts:63–65  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

61 public static defaultTransition: NavigationTransition;
62
63 static getFrameById(id: string): FrameBase {
64 return frameStack.find((frame) => frame.id && frame.id === id);
65 }
66
67 static topmost(): FrameBase {
68 return frameStackTopmost();

Callers 2

getFrameByIdFunction · 0.80

Calls 1

findMethod · 0.65

Tested by

no test coverage detected