Files
NapCatQQ/.pnpm-store/v3/files/e3/265210ca5023bd74ba0eb07845cd311e27c2e67da6f77f2057a8995cd06670b5845fb977cdbad4d6a9e7352a549ecf37183174559e9a8e7dcbb7132b5f9c13
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

11 lines
285 B
Plaintext

import { isCSSVar } from './is-css-var.mjs';
function getComputedStyle(element, name) {
const computedStyle = window.getComputedStyle(element);
return isCSSVar(name)
? computedStyle.getPropertyValue(name)
: computedStyle[name];
}
export { getComputedStyle };