mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: working with builder xml require vs dynamic import wip
This commit is contained in:
@@ -2,6 +2,7 @@ import { Observable, Frame, StackLayout } from '@nativescript/core';
|
||||
|
||||
export class HelloWorldModel extends Observable {
|
||||
viewDemo(args) {
|
||||
console.log('Navigating to view demo:', args.object.text);
|
||||
Frame.topmost().navigate({
|
||||
moduleName: `pages/${args.object.text}`,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user