Your IP : 216.73.216.220


Current Path : /home/rtorresani/www/vendor/magento/module-page-builder/view/adminhtml/web/js/property/
Upload File :
Current File : //home/rtorresani/www/vendor/magento/module-page-builder/view/adminhtml/web/js/property/margins.js

/*eslint-disable */
/* jscs:disable */
define([], function () {
  /**
   * Copyright © Magento, Inc. All rights reserved.
   * See COPYING.txt for license details.
   */

  /**
   * @api
   */
  var Margins = /*#__PURE__*/function () {
    "use strict";

    function Margins() {}

    var _proto = Margins.prototype;

    /**
     * Read margins from element
     *
     * @param {HTMLElement} element
     * @returns {string | object}
     */
    _proto.read = function read(element) {
      return {
        margin: {
          left: element.style.marginLeft,
          top: element.style.marginTop,
          right: element.style.marginRight,
          bottom: element.style.marginBottom
        }
      };
    };

    return Margins;
  }();

  return Margins;
});
//# sourceMappingURL=margins.js.map