(args: EventData)
| 2 | import { EventData, Page, WrapLayout } from '@nativescript/core'; |
| 3 | |
| 4 | export function pageLoaded(args: EventData) { |
| 5 | const page = <Page>args.object; |
| 6 | const wrapLayout = <WrapLayout>page.getViewById('wrapLayoutWithExamples'); |
| 7 | page.bindingContext = new SubMainPageViewModel(wrapLayout, loadExamples()); |
| 8 | } |
| 9 | |
| 10 | export function loadExamples() { |
| 11 | const examples = new Map<string, string>(); |
nothing calls this directly
no test coverage detected