Files
Manol Donev 03cfc0cee3 chore(tslint): update tslint rules and fix errors (#5747)
* chore(tslint): fix tslint config & errors
* chore(tslint): enable double quotes, whitespace, and arrow-return-shorthand rules and fix errors
2018-04-26 18:36:32 +03:00

12 lines
379 B
TypeScript

import { Label } from "tns-core-modules/ui/label";
import { Observable } from "tns-core-modules/data/observable";
import { Page } from "tns-core-modules/ui/page";
export function loaded(args) {
(<Observable>(<Label>args.object).page.bindingContext).set("testPassed", true);
}
export function onNavigatingTo(args) {
(<Page>args.object).bindingContext = args.context;
}