hexo/node_modules/cssstyle/lib/properties/marginLeft.js

14 lines
325 B
JavaScript
Raw Normal View History

2023-09-25 15:58:56 +08:00
'use strict';
var margin = require('./margin.js');
var parsers = require('../parsers.js');
module.exports.definition = {
set: parsers.subImplicitSetter('margin', 'left', margin.isValid, margin.parser),
get: function() {
return this.getPropertyValue('margin-left');
},
enumerable: true,
configurable: true,
};