ngx-webstorage
Version:
### Local and session storage - Angular service This library provides an easy to use service to manage the web storages (local and session) from your Angular application. It provides also two decorators to synchronize the component attributes and the web
19 lines (18 loc) • 858 B
TypeScript
import { StrategyCacheService } from '../core/strategyCache';
import { BaseSyncStorageStrategy } from './baseSyncStorage';
import { NgZone } from '@angular/core';
import { WebStorage } from '../core/interfaces/webStorage';
import * as i0 from "@angular/core";
declare class LocalStorageStrategy extends BaseSyncStorageStrategy {
protected storage: WebStorage;
protected cache: StrategyCacheService;
protected platformId: any;
protected zone: NgZone;
static readonly strategyName: string;
readonly name: string;
constructor(storage: WebStorage, cache: StrategyCacheService, platformId: any, zone: NgZone);
protected listenExternalChanges(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageStrategy, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<LocalStorageStrategy>;
}
export { LocalStorageStrategy };