test: update test samples (#7016)

* test: update test samples
This commit is contained in:
Svetoslav
2019-03-20 18:15:48 +02:00
committed by GitHub
parent f9e008fd54
commit 2efafc3a4f
18 changed files with 139 additions and 80 deletions

View File

@ -38,6 +38,11 @@ export function onNavigateToTabsBottomRoot(args: EventData) {
application._resetRootView({ moduleName: "tab-root/tab-bottom-root" });
}
export function onNavigateToSomePage(args: EventData) {
const button = <Button>args.object;
button.page.frame.navigate("some-page/some-page");
}
export function onFrameToNestedFrame(args: EventData) {
const button = <Button>args.object;
button.page.frame.navigate({