MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / navigateToModule

Function navigateToModule

apps/automated/src/ui-helper.ts:168–172  ·  view source on GitHub ↗
(moduleName: string, context?: any)

Source from the content-addressed store, hash-verified

166}
167
168export function navigateToModule(moduleName: string, context?: any): Page {
169 let entry: NavigationEntry = { moduleName: moduleName, context: context, animated: false, clearHistory: true };
170
171 return navigateWithEntry(entry);
172}
173
174export function getCurrentPage(): Page {
175 return Frame.topmost().currentPage;

Callers 1

Calls 1

navigateWithEntryFunction · 0.85

Tested by

no test coverage detected