Skip to main content

getStorageKey

FitFileViewer - API Documentation v29.4.0


FitFileViewer - API Documentation / utils/rendering/helpers/renderSummaryHelpers / getStorageKey

Function: getStorageKey()

getStorageKey(data: FitSummaryData | GenericRecord | null | undefined, _allKeys?: string[]): string

Defined in: utils/rendering/helpers/renderSummaryHelpers.js:66

Build a stable storage key for column visibility preferences for a given file path. Accepts an unused second parameter to remain backwards compatible with older callers passing (data, allKeys).

Parameters​

data​

FitSummaryData | GenericRecord | null | undefined

_allKeys?​

string[]

Ignored (legacy compatibility)

Returns​

string