Skip to main content

safeComputedStyle

FitFileViewer - API Documentation v29.9.0


FitFileViewer - API Documentation / utils/ui/controls/enableTabButtonsHelpers / safeComputedStyle

Function: safeComputedStyle()

safeComputedStyle(el: Element, prop: string): string | undefined

Defined in: utils/ui/controls/enableTabButtonsHelpers.js:9

Safely get computed style values when available.

Parameters​

el​

Element

prop​

string

Returns​

string | undefined