mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
refactor(e2e/modal-navigation): stretch modal tab view (#5548)
Update application with https://github.com/NativeScript/NativeScript/pull/5496.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user