mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
9 lines
278 B
TypeScript
9 lines
278 B
TypeScript
import * as observable from '@nativescript/core/data/observable';
|
|
import { Trace } from '@nativescript/core';
|
|
Trace.addCategories(Trace.categories.Layout);
|
|
Trace.enable();
|
|
|
|
export function onLoaded(args: observable.EventData) {
|
|
(<any>args.object).bindingContext = [0, 1];
|
|
}
|