interface
developer preview
Config options recognized by the image loader function.
interface ImageLoaderConfig { src: string width?: number }
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). |
© 2010–2022 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/common/ImageLoaderConfig