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

Function pageFactory

apps/automated/src/ui/page/page-tests.ios.ts:10–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8export function test_NavigateToNewPage_InnerControl() {
9 var testPage: Page;
10 var pageFactory = function (): Page {
11 testPage = new Page();
12 addLabelToPage(testPage);
13
14 return testPage;
15 };
16
17 helper.navigateWithHistory(pageFactory);
18 var label = <Label>testPage.content;

Callers

nothing calls this directly

Calls 1

addLabelToPageFunction · 0.90

Tested by

no test coverage detected