8f7fea4ad8
Both `CodeExampleComponent` and `CodeTabsComponent` components receive some code via content projection, grab the projected content and pass it through to a `CodeComponent` instance for formatting and displaying. Previously, the projected content was kept in the DOM (hidden). This unnecessarily increased the number of DOM nodes. This commit fixes this by clearing the projected DOM nodes once their content has been captured. PR Close #40802 |
||
---|---|---|
.. | ||
custom-elements | ||
documents | ||
layout | ||
navigation | ||
search | ||
shared | ||
sw-updates | ||
app.component.html | ||
app.component.spec.ts | ||
app.component.ts | ||
app.module.ts |