UNPKG

cdl-localstorage

Version:

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

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