mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
9 lines
286 B
TypeScript
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 };
|
|
}
|