Files
railwaysystem/RuoYi-Vue/ruoyi-ui/node_modules2/@antv/dom-util/esm/get-width.js
T

9 lines
278 B
JavaScript
Raw Normal View History

2026-09-10 15:40:10 +08:00
import getStyle from './get-style';
export default function getHeight(el, defaultValue) {
var width = getStyle(el, 'width', defaultValue);
if (width === 'auto') {
width = el.offsetWidth;
}
return parseFloat(width);
}
//# sourceMappingURL=get-width.js.map