Skip to main content

attachOverlayListItemHandlers

FitFileViewer - API Documentation v29.9.0


FitFileViewer - API Documentation / utils/rendering/components/shownFilesListItemHandlers / attachOverlayListItemHandlers

Function: attachOverlayListItemHandlers()

attachOverlayListItemHandlers(params: { li: HTMLLIElement; removeBtn: HTMLSpanElement; overlayIndex: number; fullPath: string; isDark: boolean; showWarning: boolean; assignKeyboardFocus: (index: number) => void; scheduleOverlayStateSync: () => void; }): void

Defined in: utils/rendering/components/shownFilesListItemHandlers.js:15

Attach overlay list item interactions (click, focus, tooltip, remove).

Parameters​

params​

li​

HTMLLIElement

removeBtn​

HTMLSpanElement

overlayIndex​

number

fullPath​

string

isDark​

boolean

showWarning​

boolean

assignKeyboardFocus​

(index: number) => void

scheduleOverlayStateSync​

() => void

Returns​

void