mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
5 lines
131 B
TypeScript
5 lines
131 B
TypeScript
export const getCssVariable = (el: HTMLElement, property: string) => {
|
|
return getComputedStyle(el).getPropertyValue(property)
|
|
}
|
|
|