* Checks whether the `RenderMode.Client` was defined for the current route.
(doc: Document)
| 173 | * Checks whether the `RenderMode.Client` was defined for the current route. |
| 174 | */ |
| 175 | function isClientRenderModeEnabled(doc: Document): boolean { |
| 176 | return ( |
| 177 | (typeof ngServerMode === 'undefined' || !ngServerMode) && |
| 178 | doc.body.hasAttribute(CLIENT_RENDER_MODE_FLAG) |
| 179 | ); |
| 180 | } |
| 181 | |
| 182 | /** |
| 183 | * Returns a set of providers required to setup hydration support |
no test coverage detected
searching dependent graphs…