Skip to main content

isOpenFileButton

FitFileViewer - API Documentation v30.0.1


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

Function: isOpenFileButton()

isOpenFileButton(button: HTMLElement): boolean

Defined in: utils/ui/controls/enableTabButtonsHelpers.ts:117

Determine if a tab button corresponds to the open file control.

Parameters​

button​

HTMLElement

Button element to inspect.

Returns​

boolean

True when this is the open-file button.