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

22 lines (18 loc) 607 B
'use strict'; 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;