1 | ;
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.outerWidth = void 0;
|
7 |
|
8 | var outerWidth = function outerWidth(el) {
|
9 | var width = el.offsetWidth;
|
10 | var style = getComputedStyle(el);
|
11 | width += parseInt(style.marginLeft) + parseInt(style.marginRight);
|
12 | return width;
|
13 | };
|
14 |
|
15 | exports.outerWidth = outerWidth; |
\ | No newline at end of file |