mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Update styles -> `app.css`. Update structure -> `home/home-page.xml`. Add Grid + Wrap examples.
8 lines
222 B
TypeScript
8 lines
222 B
TypeScript
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);
|
|
} |