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

11 lines
300 B
TypeScript

import { ShownModallyData } from "tns-core-modules/ui/page";
export function onShownModally(args: ShownModallyData) {
args.context.childPage = args.object;
args.context.close = args.closeCallback;
setTimeout(() => {
(<any>args.object).bindingContext = [0, 1];
}, 200);
}