W3cubDocs

/Angular

ImageLoader

type-alias

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–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/common/ImageLoader