(element: HTMLElement)
| 43 | } |
| 44 | |
| 45 | const getComputedStyle = (element: HTMLElement): CSSStyleDeclaration => |
| 46 | element.ownerDocument.defaultView.getComputedStyle(element, null); |
| 47 | |
| 48 | export function getStyle(el: HTMLElement, property: string): string { |
| 49 | return getComputedStyle(el).getPropertyValue(property); |
no outgoing calls
no test coverage detected
searching dependent graphs…