Skip to content

Adding property/event bindings to ng-content should error #24259

@jelbourn

Description

@jelbourn

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions