Skip to main content

safeQueryTabButtons

FitFileViewer - API Documentation v29.9.0


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

Function: safeQueryTabButtons()

safeQueryTabButtons(): HTMLElement[]

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

Safely get an array of elements matching the tab button selector. Returns an empty array if document APIs are missing or throw.

Returns​

HTMLElement[]