angular / 14 / api / common / imageloader.html

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