Files
NativeScript/apps/automated/app/ui/test-pages/bindingExpressions_arrayAccess_testPage.ts
Nathan Walker 1e6fccf272 chore: cleanup
2020-07-23 14:03:37 -07:00

9 lines
286 B
TypeScript

import * as pages from '@nativescript/core/ui/page';
export function pageLoaded(args) {
var strArr: string[] = ['tests', 'bindings', 'tests'];
var numArr: number[] = [-1, 0, 1];
var page = <pages.Page>args.object;
page.bindingContext = { strArray: strArr, numArray: numArr };
}