the-forest/client/node_modules/cssstyle/lib/properties/top.js

15 lines
297 B
JavaScript
Raw Normal View History

2024-09-17 20:35:18 -04:00
'use strict';
var parseMeasurement = require('../parsers').parseMeasurement;
module.exports.definition = {
set: function(v) {
this._setProperty('top', parseMeasurement(v));
},
get: function() {
return this.getPropertyValue('top');
},
enumerable: true,
configurable: true,
};