GT2/GT2-iOS/node_modules/cssstyle/lib/properties/marginTop.js

14 lines
337 B
JavaScript
Raw Normal View History

2018-02-12 17:26:06 +00:00
'use strict';
var margin = require('./margin.js');
var parsers = require('../parsers.js');
module.exports.definition = {
set: parsers.subImplicitSetter('margin', 'top', margin.isValid, margin.parser),
get: function () {
return this.getPropertyValue('margin-top');
},
enumerable: true,
configurable: true
};