const developer preview

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, options?: { ensurePreconnect?: boolean; }) => Provider[];

© 2010–2022 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.