()
| 434 | */ |
| 435 | @Method() |
| 436 | async getRouteId(): Promise<RouteID | undefined> { |
| 437 | const active = this.getActiveSync(); |
| 438 | if (active) { |
| 439 | return { |
| 440 | id: active.element!.tagName, |
| 441 | params: active.params, |
| 442 | element: active.element, |
| 443 | }; |
| 444 | } |
| 445 | return undefined; |
| 446 | } |
| 447 | |
| 448 | /** |
| 449 | * Get the active view. |
nothing calls this directly
no test coverage detected