Skip to content

Vizel API / core/src / VizelSaveIndicatorView

Interface: VizelSaveIndicatorView ​

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

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:249

Name of the icon to render.


isSpinner ​

ts
isSpinner: boolean;

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

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:255

Whether to render the relative timestamp span.


text ​

ts
text: string;

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

Localized status text.

Released under the MIT License.