UNPKG

cdl-sessionstorage

Version:

This is a simple session storage which is developed using javascript.

20 lines (19 loc) 431 B
export declare class SessionstorageService { constructor(); /** * Set value in session storage */ setValue: (key: any, value: any) => void; /** * Get value from session storage */ getValue: (key: any) => string; /** * Clear specific value in session storage */ clearValue: (key: any) => void; /** * Clear entire session storage */ clearAll: () => void; }