W3cubDocs

/Angular

ImageLoader

type-alias developer preview

Represents an image loader function. Image loader functions are used by the NgOptimizedImage directive to produce full image URL based on the image name and its width.

type ImageLoader = (config: ImageLoaderConfig) => string;

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