(lView: LView, tNode: TNode)
| 57 | import {enableAnimationRuntimeSupport, enableViewDetachAnimationsSupport} from '../node_animations'; |
| 58 | |
| 59 | function isHydratingNode(lView: LView, tNode: TNode): boolean { |
| 60 | if (isRootView(lView)) { |
| 61 | return getComponentLViewByIndex(tNode.index, lView)[HYDRATION] !== null; |
| 62 | } |
| 63 | const hydrationInfo = lView[HYDRATION]; |
| 64 | return ( |
| 65 | hydrationInfo !== null && |
| 66 | (!isInSkipHydrationBlock() || isSkipHydrationRootTNode(tNode)) && |
| 67 | !hydrationInfo.disconnectedNodes?.has(tNode.index - HEADER_OFFSET) |
| 68 | ); |
| 69 | } |
| 70 | |
| 71 | /** |
| 72 | * Instruction to handle the `animate.enter` behavior for class bindings. |
no test coverage detected