setup-php/node_modules/cssstyle/lib/properties/opacity.js
Shivam Mathur 8f9786b73f init
2019-09-06 05:17:43 +05:30

15 lines
290 B
JavaScript

'use strict';
var parseNumber = require('../parsers').parseNumber;
module.exports.definition = {
set: function(v) {
this._setProperty('opacity', parseNumber(v));
},
get: function() {
return this.getPropertyValue('opacity');
},
enumerable: true,
configurable: true,
};