@angular/common

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
Jump to details