Cookies concent notice

This site uses cookies from Google to deliver its services and to analyze traffic.
Learn more
Skip to main content
Say hello to Angular's future home!Check out Angular.devHome
/

ImageLoaderConfig

Config options recognized by the image loader function.

      
      interface ImageLoaderConfig {
  src: string
  width?: number
  loaderParams?: {...}
}
    

See also

Properties

Property Description
src: string

Image file name to be added to the image request URL.

width?: number

Width of the requested image (to be used when generating srcset).

loaderParams?: { [key: string]: any; }

Additional user-provided parameters for use by the ImageLoader.