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

Function pageLoaded

apps/ui/src/repeater/main-page.ts:6–10  ·  view source on GitHub ↗
(args: EventData)

Source from the content-addressed store, hash-verified

4import { Page } from '@nativescript/core/ui/page';
5
6export function pageLoaded(args: EventData) {
7 const page = <Page>args.object;
8 const wrapLayout = <WrapLayout>page.getViewById('wrapLayoutWithExamples');
9 page.bindingContext = new SubMainPageViewModel(wrapLayout, loadExamples());
10}
11
12export function loadExamples() {
13 const examples = new Map<string, string>();

Callers

nothing calls this directly

Calls 1

loadExamplesFunction · 0.70

Tested by

no test coverage detected