W3cubDocs

/Angular

ImageConfig

type-alias developer preview

A configuration object for the NgOptimizedImage directive. Contains:

  • breakpoints: An array of integer breakpoints used to generate srcsets for responsive images.

See more...

type ImageConfig = {
    breakpoints?: number[];
};

Description

Learn more about the responsive image configuration in the NgOptimizedImage guide.

© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/common/ImageConfig