mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: add apps for profiling
This commit is contained in:
9
apps/old/src/main-view-model.ts
Normal file
9
apps/old/src/main-view-model.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { Observable, Frame } from '@nativescript/core';
|
||||
|
||||
export class MainViewModel extends Observable {
|
||||
viewDemo(args) {
|
||||
Frame.topmost().navigate({
|
||||
moduleName: `plugin-demos/${args.object.text}`,
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user