(param: any)
| 225 | } |
| 226 | |
| 227 | public navigate(param: any) { |
| 228 | if (Trace.isEnabled()) { |
| 229 | Trace.write(`NAVIGATE`, Trace.categories.Navigation); |
| 230 | } |
| 231 | |
| 232 | this._pushInFrameStack(); |
| 233 | |
| 234 | const entry = buildEntryFromArgs(param); |
| 235 | const page = Builder.createViewFromEntry(entry) as Page; |
| 236 | |
| 237 | const backstackEntry: BackstackEntry = { |
| 238 | entry: entry, |
| 239 | resolvedPage: page, |
| 240 | navDepth: undefined, |
| 241 | fragmentTag: undefined, |
| 242 | }; |
| 243 | |
| 244 | const navigationContext: NavigationContext = { |
| 245 | entry: backstackEntry, |
| 246 | isBackNavigation: false, |
| 247 | navigationType: NavigationType.forward, |
| 248 | }; |
| 249 | |
| 250 | this._navigationQueue.push(navigationContext); |
| 251 | this._processNextNavigationEntry(); |
| 252 | } |
| 253 | |
| 254 | public isCurrent(entry: BackstackEntry): boolean { |
| 255 | return this._currentEntry === entry; |
nothing calls this directly
no test coverage detected