(root: Element)
| 34 | * The routes are returned as a list of chains - the flattened tree. |
| 35 | */ |
| 36 | export const readRoutes = (root: Element): RouteChain[] => { |
| 37 | return flattenRouterTree(readRouteNodes(root)); |
| 38 | }; |
| 39 | |
| 40 | /** |
| 41 | * Reads the route nodes as a tree modeled after the DOM tree of <ion-route> elements. |
no test coverage detected