Vizel API / core/src / resolveVizelSaveIndicatorView
Function: resolveVizelSaveIndicatorView()
ts
function resolveVizelSaveIndicatorView(
status,
locale,
lastSaved,
relativeTime,
showTimestamp): VizelSaveIndicatorView;Defined in: packages/core/src/auto-save.ts:268
Resolve the icon, text, and timestamp visibility for a VizelSaveStatus.
Pure function consumed by framework VizelSaveIndicator components.
Parameters
| Parameter | Type | Description |
|---|---|---|
status | VizelSaveStatus | Current save status. |
locale | VizelLocale | undefined | Optional locale providing translated status strings. |
lastSaved | Date | null | undefined | Last successful save timestamp (for visibility check). |
relativeTime | string | Pre-computed relative-time string (empty when none). |
showTimestamp | boolean | Whether the consumer requested timestamp display. |