UNPKG

ng-shopping-cart

Version:

An Angular component library to create shopping carts

14 lines (13 loc) 441 B
/** * The configuration for all CartService implementations that use the browser storage. */ export interface BrowserStorageServiceConfiguration { /** * The localStorage or sessionStorage key where all the information of the cart will be stored. */ storageKey?: string; /** * Whether to clear the cart or not if an error is found when de-serializing the items. */ clearOnError?: boolean; }