Files
NativeScript/e2e/modal-navigation/app/modal-nested/modal-nested-page.ts
Manol Donev e1eea8efe7 test(e2e): add modal-navigation app (#5393)
* chore(apps): add modal-navigation-app for ui testing

* test(e2e): add modal-navigation app

* test(apps): remove modal-navigation-app

The app has been moved to `e2e/modal-navigation`.

* chore: include e2e folder to npm scripts

* docs: include e2e folder to DevelopmentWorkflow.md

* chore(e2e): update .gitignore

* fix(e2e): relative paths

* chore(e2e): update package.json

* test(e2e): add change root view to modal-navigation

* test(e2e): set androidTabsPosition to botton

* chore(e2e): add VSCode launch.json config

* docs(e2e): delete LICENSE and README.md files

* refactor(e2e): rename modal-tab-page to modal-tab-root

* test(e2e): update iOS launch screen
2018-02-14 16:51:51 +02:00

23 lines
731 B
TypeScript

import { StackLayout } from "tns-core-modules/ui/layouts/stack-layout";
import { NavigatedData } from "tns-core-modules/ui/page";
import { View, EventData } from "tns-core-modules/ui/core/view";
export function onNavigatingTo(args: NavigatedData) {
console.log("NESTED modal-frame onNavigatingTo");
}
export function onNavigatingFrom(args: NavigatedData) {
console.log("NESTED modal-frame onNavigatingFrom");
}
export function onNavigatedTo(args: NavigatedData) {
console.log("NESTED modal-frame onNavigatedTo");
}
export function onNavigatedFrom(args: NavigatedData) {
console.log("NESTED modal-frame onNavigatedFrom");
}
export function closeModal(args: EventData) {
(args.object as View).closeModal();
}