Files
lan-manager/web/node_modules/@antv/dom-util/esm/get-outer-height.js
openclaw 0a5f6a8047 Initial commit: Lan-manager project code
- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs

Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
2026-04-20 00:52:58 +08:00

13 lines
679 B
JavaScript

import getStyle from './get-style';
import getHeight from './get-height';
export default function getOuterHeight(el, defaultValue) {
var height = getHeight(el, defaultValue);
var bTop = parseFloat(getStyle(el, 'borderTopWidth')) || 0;
var pTop = parseFloat(getStyle(el, 'paddingTop')) || 0;
var pBottom = parseFloat(getStyle(el, 'paddingBottom')) || 0;
var bBottom = parseFloat(getStyle(el, 'borderBottomWidth')) || 0;
var mTop = parseFloat(getStyle(el, 'marginTop')) || 0;
var mBottom = parseFloat(getStyle(el, 'marginBottom')) || 0;
return height + bTop + bBottom + pTop + pBottom + mTop + mBottom;
}
//# sourceMappingURL=get-outer-height.js.map