Return the item name to lookup in localStorage * @param {integer} id - Item ID * @returns {string} Item name
(id)
| 162 | * @returns {string} Item name |
| 163 | */ |
| 164 | _itemName(id) { |
| 165 | return `${this.name}-${id}`; |
| 166 | } |
| 167 | |
| 168 | /** Proxy to the localStorage setItem value method |
| 169 | * @param {string} key - LocalStorage key to set |