refactor(e2e/modal-navigation): stretch modal tab view (#5548)

Update application with https://github.com/NativeScript/NativeScript/pull/5496.
This commit is contained in:
Vasil Chimev
2018-03-16 20:33:23 +02:00
committed by GitHub
parent 9fddec517a
commit 8248d8a8b9

View File

@@ -42,11 +42,17 @@ export function onModalPage(args: EventData) {
}
export function onModalTabView(args: EventData) {
const fullscreen = false;
const animated = false;
const stretched = true;
const view = args.object as View;
view.showModal("modal-tab/modal-tab-root",
{ frameless: true },
() => console.log("home-page modal tabview closed"),
false);
fullscreen,
animated,
stretched);
}
export function onNavigate(args: EventData) {