Skip to main content

getBrowserComputedStyle

FitFileViewer - API Documentation v30.0.1


FitFileViewer - API Documentation / utils/runtime/browserRuntime / getBrowserComputedStyle

Function: getBrowserComputedStyle()

getBrowserComputedStyle(): ((elt: Element, pseudoElt?: string | null) => CSSStyleDeclaration) | undefined

Defined in: utils/runtime/browserRuntime.ts:221

Returns​

Function​

(elt: Element, pseudoElt?: string | null) => CSSStyleDeclaration

The Window.getComputedStyle() method returns a live read-only CSSStyleProperties object containing the resolved values of all CSS properties of an element, after applying active stylesheets and resolving any computation those values may contain.

MDN Reference

Parameters​

elt​

Element

pseudoElt?​

string | null

Returns​

CSSStyleDeclaration


undefined