Files
NativeScript/e2e/file-qualifiers/app/main/main-page.land.ts
Alexander Vakrilov 8756b3da16 refactor: HMR and webpack improvements (#7462)
* chore: update project

* refactor: clear module-name cache on orientation

* feat: add custom component in qualifiers app

* feat: enable HMR for custom components

* refactor: remove redundant check

* chore: clean console.log
2019-07-08 11:11:14 +03:00

17 lines
424 B
TypeScript

import { topmost } from "tns-core-modules/ui/frame";
import { vm } from "./main-page-vm";
export function onNavigatingTo(args) {
console.log("---> [LANDSCAPE] onNavigatingTo");
args.object.page.bindingContext = vm;
}
export function tap(args) {
console.log("---> [LANDSCAPE] tap");
}
export function navigate(args) {
console.log("---> [LANDSCAPE] navigate");
topmost().navigate("other/other-page");
}