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