import * as frame from "tns-core-modules/ui/frame";

export function onTap(args) {
    var navigationEntry = {
        moduleName: "ui-tests-app/transitions/page1",
        animated: true,
        transition: {
            name: args.object.tag,
            duration: 380,
            curve: "easeIn"
        }
    };
    frame.topmost().navigate(navigationEntry);
}
