15 lines
322 B
JavaScript
15 lines
322 B
JavaScript
'use strict';
|
|
|
|
var parseColor = require('../parsers').parseColor;
|
|
|
|
module.exports.definition = {
|
|
set: function (v) {
|
|
this._setProperty('lighting-color', parseColor(v));
|
|
},
|
|
get: function () {
|
|
return this.getPropertyValue('lighting-color');
|
|
},
|
|
enumerable: true,
|
|
configurable: true
|
|
};
|