- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs
Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
12 lines
391 B
JavaScript
12 lines
391 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
var get_style_1 = require("./get-style");
|
|
function getHeight(el, defaultValue) {
|
|
var width = (0, get_style_1.default)(el, 'width', defaultValue);
|
|
if (width === 'auto') {
|
|
width = el.offsetWidth;
|
|
}
|
|
return parseFloat(width);
|
|
}
|
|
exports.default = getHeight;
|
|
//# sourceMappingURL=get-width.js.map
|