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

Function create

apps/automated/src/ui/frame/frame-tests-common.ts:162–167  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

160
161 const pages = new Array<Page>();
162 const create = () => {
163 const page = new Page();
164 pages.push(page);
165
166 return page;
167 };
168
169 frame.navigate({ create: () => new Page(), clearHistory: true });
170 frame.navigate({ create, backstackVisible: false });

Callers 1

pickImageMethod · 0.50

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected