mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00

* chore(tslint): fix tslint config & errors * chore(tslint): enable double quotes, whitespace, and arrow-return-shorthand rules and fix errors
11 lines
300 B
TypeScript
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);
|
|
}
|