fix: navigation b/n single and nested frame pages (#7011)

This commit is contained in:
Manol Donev
2019-03-15 15:38:04 +02:00
committed by GitHub
parent 62913bd705
commit 91d90ccd0f
10 changed files with 170 additions and 6 deletions

View File

@ -37,3 +37,16 @@ export function onNavigateToTabsTopRoot(args: EventData) {
export function onNavigateToTabsBottomRoot(args: EventData) {
application._resetRootView({ moduleName: "tab-root/tab-bottom-root" });
}
export function onFrameToNestedFrame(args: EventData) {
const button = <Button>args.object;
button.page.frame.navigate({
moduleName: "frame-root/frame-home-page",
animated: true,
transition: {
name: "slide",
duration: 300,
curve: "easeIn"
}
});
}