mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00
fix: Navigation test app added
This commit is contained in:
@ -9,4 +9,4 @@ trace.enable();
|
|||||||
|
|
||||||
// Needed only for build infrastructure
|
// Needed only for build infrastructure
|
||||||
application.setCssFileName("navigation-app/app.css");
|
application.setCssFileName("navigation-app/app.css");
|
||||||
application.start({ moduleName: "navigation-app/main-page" });
|
application.start({ moduleName: "navigation-app/main-page" });
|
||||||
|
@ -66,4 +66,4 @@ export function navigatingTo(args: NavigatedData) {
|
|||||||
|
|
||||||
export function navigatingFrom(args: NavigatedData) {
|
export function navigatingFrom(args: NavigatedData) {
|
||||||
console.log(`navigatingFrom ${args.object.toString()} isBack: ${args.isBackNavigation}`)
|
console.log(`navigatingFrom ${args.object.toString()} isBack: ${args.isBackNavigation}`)
|
||||||
}
|
}
|
||||||
|
@ -10,4 +10,4 @@
|
|||||||
<Button text="Nav Clear" tap="navWithClear" />
|
<Button text="Nav Clear" tap="navWithClear" />
|
||||||
<ListView items="{{ $value }}" />
|
<ListView items="{{ $value }}" />
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
</Page>
|
</Page>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"name": "tns-samples-apps",
|
"name": "tns-samples-apps",
|
||||||
"main": "ui-tests-app/app.js"
|
"main": "navigation-app/app.js"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user