@angular/common

provideCloudflareLoader

constant

Function that generates an ImageLoader for Cloudflare Image Resizing and turns it into an Angular provider. Note: Cloudflare has multiple image products - this provider is specifically for Cloudflare Image Resizing; it will not work with Cloudflare Images or Cloudflare Polish.

  
    const provideCloudflareLoader: (path: string) => Provider[];
  
  
Jump to details