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