mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
test(safe-area): update application
Update styles -> `app.css`. Update structure -> `home/home-page.xml`. Add Grid + Wrap examples.
This commit is contained in:
committed by
Martin Yankov
parent
8f8001eac8
commit
f7dfcb086c
8
e2e/safe-area/app/stacklayout/stacklayout-page.ts
Normal file
8
e2e/safe-area/app/stacklayout/stacklayout-page.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { View, EventData } from "tns-core-modules/ui/core/view";
|
||||
|
||||
export function onNavigate(args: EventData) {
|
||||
const view = args.object as View;
|
||||
const route = view["route"];
|
||||
|
||||
view.page.frame.navigate(route);
|
||||
}
|
||||
Reference in New Issue
Block a user