MCPcopy
hub / github.com/apache/echarts / getComputedStyle

Function getComputedStyle

src/component/tooltip/helper.ts:67–73  ·  view source on GitHub ↗
(el: HTMLElement, style?: string)

Source from the content-addressed store, hash-verified

65}
66
67export function getComputedStyle(el: HTMLElement, style?: string) {
68 const stl = (el as any).currentStyle
69 || (document.defaultView && document.defaultView.getComputedStyle(el));
70 return stl
71 ? style ? stl[style] : stl
72 : null;
73}

Callers 2

updateMethod · 0.90
dat.gui.min.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…