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

Function onPageLoaded

apps/ui/src/fonts-tests/all-fonts-page.ts:44–51  ·  view source on GitHub ↗
(args: NavigatedData)

Source from the content-addressed store, hash-verified

42}
43
44export function onPageLoaded(args: NavigatedData) {
45 let page = <Page>args.object;
46 let scrollView = new ScrollView();
47 let stackLayout = new StackLayout();
48 generateLabels(stackLayout);
49 scrollView.content = stackLayout;
50 page.content = scrollView;
51}
52
53function generateLabels(layout: StackLayout) {
54 layout.addChild(prepareTitle('Generic Font Families', 24));

Callers

nothing calls this directly

Calls 1

generateLabelsFunction · 0.85

Tested by

no test coverage detected