@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 (15 loc) • 570 B
JavaScript
;
var LeveledEffectAction = require('./LeveledEffectAction-c6a11f05.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;