Components/Content projection: Wrong selector used in the live example for the usage of "ngProjectAs" #42522
Labels
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
state: has PR
Milestone
Docs or angular.io Bug Report
Description
Inside the live-example used in Content projection guide, the"ngProjectAs" selector doesn't match the one specified on the component's
ng-content
.Check screenshots for the current behavior.
Minimal Reproduction
.
What's the affected URL?**
https://angular.io/guide/content-projection
https://stackblitz.com/angular/nkaxvprrnko
Expected behavior
The
ngProjectAs
selector should match the selector specified on theng-content
insidezippy-ngprojectas.component.ts
, or vice versa.Screenshot
zippy-ngprojectas.component.ts
app.component.html
The text was updated successfully, but these errors were encountered: