attachRecentFilesContextMenu
FitFileViewer - API Documentation v30.0.1
FitFileViewer - API Documentation / utils/app/lifecycle/recentFilesContextMenu / attachRecentFilesContextMenu
Function: attachRecentFilesContextMenu()
attachRecentFilesContextMenu(
params:AttachRecentFilesContextMenuParams): () =>void
Defined in: utils/app/lifecycle/recentFilesContextMenu.ts:91
Attach the βRecent Filesβ context menu behavior to the Open File button.
This function intentionally preserves the original behavior (including debug logging) because the menu behavior is heavily covered by strict tests.
Parametersβ
paramsβ
AttachRecentFilesContextMenuParams
Dependencies for wiring the context menu.
Returnsβ
A cleanup callback that detaches the root listener.
() => void