Adding property/event bindings to ng-content should error #24259
Labels
area: core
Issues related to the framework runtime
core: content projection
design complexity: low-hanging
freq1: low
hotlist: error messages
state: confirmed
type: bug/fix
Milestone
Issue
Adding property/event bindings to
<ng-content>
(attributes that are not explicitly supported APIs) currently no-op. They should be an error, as the attributes will be completely lost.Reproduction
https://stackblitz.com/edit/angular-gitter-hm6egs?file=app%2Fapp.component.ts
The text was updated successfully, but these errors were encountered: