(root: HTMLElement | undefined)
| 215 | const OUTLET_SELECTOR = ':not([no-router]) ion-nav, :not([no-router]) ion-tabs, :not([no-router]) ion-router-outlet'; |
| 216 | |
| 217 | const searchNavNode = (root: HTMLElement | undefined): NavOutletElement | undefined => { |
| 218 | if (!root) { |
| 219 | return undefined; |
| 220 | } |
| 221 | if (root.matches(OUTLET_SELECTOR)) { |
| 222 | return root as NavOutletElement; |
| 223 | } |
| 224 | const outlet = root.querySelector<NavOutletElement>(OUTLET_SELECTOR); |
| 225 | return outlet ?? undefined; |
| 226 | }; |
no outgoing calls
no test coverage detected