(id)
| 87 | } |
| 88 | |
| 89 | removeFromStorage(id) { |
| 90 | const storage = this.getStorage().filter((item) => item.id !== id); |
| 91 | |
| 92 | LocalStorage.set(STORAGE_KEY, JSON.stringify(storage)); |
| 93 | this.apply(); |
| 94 | } |
| 95 | |
| 96 | changePosition(x, y) { |
| 97 | this.items.style.left = `${x}px`; |
no test coverage detected