Skip to content

Add support for the picture element to the image directive  #56594

@JeanMeche

Description

@JeanMeche

Which @angular/* package(s) are relevant/related to the feature request?

common

Description

It would be great if the NgOptimizedDirective (or a related one) would support images declared via the picture element.

Proposed solution

  • Extend the support of the support of the exisiting directive
  • Add a new directive dedicated to the picture element.

Alternatives considered

none

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: commonIssues related to APIs in the @angular/common packagecommon: image directivefeatureLabel used to distinguish feature request from other issues

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions