(moduleName: string, context?: any)
| 166 | } |
| 167 | |
| 168 | export function navigateToModule(moduleName: string, context?: any): Page { |
| 169 | let entry: NavigationEntry = { moduleName: moduleName, context: context, animated: false, clearHistory: true }; |
| 170 | |
| 171 | return navigateWithEntry(entry); |
| 172 | } |
| 173 | |
| 174 | export function getCurrentPage(): Page { |
| 175 | return Frame.topmost().currentPage; |
no test coverage detected