@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
13 lines (11 loc) • 506 B
JavaScript
import { BrowserStorageDataStore } from './browser-storage-data-store';
/**
* Defines a single value data store using browser session storage as the underlying storage mechanism
* This data store uses the provided storage key to get/set/clear a value from SessionStorage.
*/
export class SessionDataStore extends BrowserStorageDataStore {
constructor(storageKey) {
super(storageKey, MsftSme.SessionStorageHandler.getSessionStorage());
}
}
//# sourceMappingURL=session-data-store.js.map