You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
290 B

  1. 'use strict';
  2. var parseNumber = require('../parsers').parseNumber;
  3. module.exports.definition = {
  4. set: function(v) {
  5. this._setProperty('opacity', parseNumber(v));
  6. },
  7. get: function() {
  8. return this.getPropertyValue('opacity');
  9. },
  10. enumerable: true,
  11. configurable: true,
  12. };