()
| 159 | * @codeGenApi |
| 160 | */ |
| 161 | export function ɵɵelementEnd(): typeof ɵɵelementEnd { |
| 162 | const tView = getTView(); |
| 163 | const initialTNode = getCurrentTNode()!; |
| 164 | ngDevMode && assertDefined(initialTNode, 'No parent node to close.'); |
| 165 | |
| 166 | const currentTNode = elementLikeEndShared(initialTNode); |
| 167 | ngDevMode && assertTNodeType(currentTNode, TNodeType.AnyRNode); |
| 168 | |
| 169 | if (tView.firstCreatePass) { |
| 170 | directiveHostEndFirstCreatePass(tView, currentTNode); |
| 171 | } |
| 172 | |
| 173 | if (isSkipHydrationRootTNode(currentTNode)) { |
| 174 | leaveSkipHydrationBlock(); |
| 175 | } |
| 176 | |
| 177 | decreaseElementDepthCount(); |
| 178 | |
| 179 | if (currentTNode.classesWithoutHost != null && hasClassInput(currentTNode)) { |
| 180 | setDirectiveInputsWhichShadowsStyling( |
| 181 | tView, |
| 182 | currentTNode, |
| 183 | getLView(), |
| 184 | currentTNode.classesWithoutHost, |
| 185 | true, |
| 186 | ); |
| 187 | } |
| 188 | |
| 189 | if (currentTNode.stylesWithoutHost != null && hasStyleInput(currentTNode)) { |
| 190 | setDirectiveInputsWhichShadowsStyling( |
| 191 | tView, |
| 192 | currentTNode, |
| 193 | getLView(), |
| 194 | currentTNode.stylesWithoutHost, |
| 195 | false, |
| 196 | ); |
| 197 | } |
| 198 | return ɵɵelementEnd; |
| 199 | } |
| 200 | |
| 201 | /** |
| 202 | * Creates an empty element using {@link elementStart} and {@link elementEnd} |
no test coverage detected
searching dependent graphs…