ImageLoader • Angular

@angular/common

Type Alias

stable

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.

API

    
      type ImageLoader = (config: ImageLoaderConfig) => string