@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) • 542 B
JavaScript
;
var Qualifier = require('./Qualifier-6633a22f.cjs');
/**
* @description Defines the visual appearance of the background.
* @memberOf Qualifiers.Background
* @extends {SDK.Qualifier}
*/
class BackgroundQualifier extends Qualifier.Qualifier {
constructor(backgroundValue) {
// The qualifier key for this qualifier
super('b');
// Such as color (b_red)
if (backgroundValue) {
this.addValue(backgroundValue);
}
}
}
exports.BackgroundQualifier = BackgroundQualifier;