UNPKG

@cloudinary/url-gen

Version:

Cloudinary URL-Gen SDK ========================= [![Build Status](https://api.travis-ci.com/cloudinary/js-url-gen.svg?branch=master)](https://app.travis-ci.com/github/cloudinary/js-url-gen) ## About The Cloudinary URL-Gen SDK allows you to quickly and eas

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;