()
| 21 | |
| 22 | class BookmarkCollection { |
| 23 | constructor() { |
| 24 | const menu = createMenu(); |
| 25 | this.container = menu.container; |
| 26 | this.items = menu.menu; |
| 27 | this.lastScroll = 0; |
| 28 | this.container.onclick = () => { |
| 29 | this.storeScroll(); |
| 30 | this.container.remove(); |
| 31 | }; |
| 32 | this.filter = 0; |
| 33 | this.apply(); |
| 34 | } |
| 35 | |
| 36 | apply() { |
| 37 | this.items.textContent = ""; // Remove all childs |
nothing calls this directly
no test coverage detected