UNPKG

@cloudinary/url-gen

Version:

You are invited to influence our new SDK [Click here to view github discussion](https://github.com/cloudinary/js-url-gen/discussions/602) =========================

19 lines (18 loc) 550 B
import Layer from './layer.js'; declare class FetchLayer extends Layer { /** * @class FetchLayer * @classdesc Creates an image layer using a remote URL. * @param {Object|string} options - layer parameters or a url * @param {string} options.url the url of the image to fetch */ constructor(options: any); url(url: string): this; /** * generate the string representation of the layer * @function FetchLayer#toString * @return {String} */ toString(): string; } export default FetchLayer;