volleyball-dev-frontend/node_modules/react-responsive-carousel/lib/js/dimensions.js
2025-06-02 16:42:16 +00:00

15 lines
340 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.outerWidth = void 0;
var outerWidth = function outerWidth(el) {
var width = el.offsetWidth;
var style = getComputedStyle(el);
width += parseInt(style.marginLeft) + parseInt(style.marginRight);
return width;
};
exports.outerWidth = outerWidth;