@cloudinary/url-gen
Version:
Cloudinary URL-Gen SDK ========================= [](https://app.travis-ci.com/github/cloudinary/js-url-gen) ## About The Cloudinary URL-Gen SDK allows you to quickly and eas
22 lines (18 loc) • 607 B
JavaScript
;
var LeveledEffectAction = require('./LeveledEffectAction-58430dd1.cjs');
/**
* @description A class for all effects that include a strength method
* @extends {Actions.Effect.LeveledEffectAction}
* @memberOf Actions.Effect
* @see Visit {@link Actions.Effect|Effect} for an example
*/
class EffectActionWithStrength extends LeveledEffectAction.LeveledEffectAction {
constructor() {
super(...arguments);
this.LEVEL_NAME = 'strength';
}
strength(value) {
return this.setLevel(value);
}
}
exports.EffectActionWithStrength = EffectActionWithStrength;