mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
* 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
16 lines
360 B
TypeScript
16 lines
360 B
TypeScript
import { topmost } from "tns-core-modules/ui/frame";
|
|
|
|
export function onNavigatedTo(args) {
|
|
console.log("---> [LANDSCAPE other] onNavigatedTo");
|
|
}
|
|
|
|
export function tap(args) {
|
|
console.log("---> [LANDSCAPE other] tap");
|
|
}
|
|
|
|
export function navigate(args) {
|
|
console.log("---> [LANDSCAPE other] navigate");
|
|
|
|
topmost().navigate("main/main-page");
|
|
}
|