Visitar URL original
Add support for the `picture` element to the image directive · Issue #56594 · angular/angular · GitHub
The Wayback Machine - https://web.archive.org/web/20251026144812/https://github.com/angular/angular/issues/56594
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 directivefeatureIssue that requests a new feature

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions