interface
Config options recognized by the image loader function.
interface ImageLoaderConfig { src: string width?: number loaderParams?: {...} }
Property | Description |
---|---|
src: string | Image file name to be added to the image request URL. |
width?: number | Width of the requested image (to be used when generating srcset). |
loaderParams?: {
[key: string]: any;
} | Additional user-provided parameters for use by the ImageLoader. |
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/common/ImageLoaderConfig