Skip to content

Vizel API / core/src / VizelSaveIndicatorView

Interface: VizelSaveIndicatorView

Defined in: packages/core/src/auto-save.ts:246

Resolved view-model for the framework VizelSaveIndicator components.

Captures the status → display mapping so each framework only has to render the icon and text once, instead of hand-writing a switch inside both <script> and template.

Properties

iconName

ts
iconName: "check" | "loader" | "circle" | "warning";

Defined in: packages/core/src/auto-save.ts:248

Name of the icon to render.


isSpinner

ts
isSpinner: boolean;

Defined in: packages/core/src/auto-save.ts:250

Whether the icon should be wrapped in the vizel-save-indicator-spinner element.


shouldShowTimestamp

ts
shouldShowTimestamp: boolean;

Defined in: packages/core/src/auto-save.ts:254

Whether to render the relative timestamp span.


text

ts
text: string;

Defined in: packages/core/src/auto-save.ts:252

Localized status text.

Released under the MIT License.