API reference: @salmonui/pivot-table
PivotPersistStateinterface
import type { PivotPersistState } from '@salmonui/pivot-table';interface PivotPersistState {
readonly id: string;
readonly storage?: {
getItem(key: string): string | null;
setItem(key: string, value: string): void;
removeItem?(key: string): void;
} | undefined;
readonly version?: string | undefined;
}
Persistence.
| Name | Signature | Description |
|---|---|---|
id | readonly id: string; | Storage key suffix: |
storageoptional | readonly storage?: {
getItem(key: string): string | null;
setItem(key: string, value: string): void;
removeItem?(key: string): void;
} | undefined; | Default |
versionoptional | readonly version?: string | undefined; | Saved states of another application version are ignored. |