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 (15 loc) 570 B
'use strict'; var LeveledEffectAction = require('./LeveledEffectAction-7af017df.cjs'); /** * @description A class that provides a built in level() method that sets the level of the effect * @extends {Actions.Effect.LeveledEffectAction} * @memberOf Actions.Effect * @see Visit {@link Actions.Effect|Effect} for an example */ class EffectActionWithLevel extends LeveledEffectAction.LeveledEffectAction { level(value) { this._actionModel.level = value; return this.setLevel(value); } } exports.EffectActionWithLevel = EffectActionWithLevel;