Skip to main content

getTabButtonIdentity

FitFileViewer - API Documentation v29.9.0


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

Function: getTabButtonIdentity()

getTabButtonIdentity(button: HTMLElement): { id: string; normalizedId: string; text: string; isOpenFile: boolean; }

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

Get common identity data for a tab button.

Parameters​

button​

HTMLElement

Returns​

{ id: string; normalizedId: string; text: string; isOpenFile: boolean; }

id​

id: string

normalizedId​

normalizedId: string

text​

text: string

isOpenFile​

isOpenFile: boolean