padding.js 596 B

123456789101112131415
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. var IPropertyDescriptor_1 = require("../IPropertyDescriptor");
  4. var paddingForSide = function (side) { return ({
  5. name: "padding-" + side,
  6. initialValue: '0',
  7. prefix: false,
  8. type: IPropertyDescriptor_1.PropertyDescriptorParsingType.TYPE_VALUE,
  9. format: 'length-percentage'
  10. }); };
  11. exports.paddingTop = paddingForSide('top');
  12. exports.paddingRight = paddingForSide('right');
  13. exports.paddingBottom = paddingForSide('bottom');
  14. exports.paddingLeft = paddingForSide('left');
  15. //# sourceMappingURL=padding.js.map