()
| 52 | } |
| 53 | |
| 54 | private updateThumb() { |
| 55 | const contentHeight = document.documentElement.scrollHeight; |
| 56 | const visibleHeight = window.innerHeight; |
| 57 | this.thumb.style.setProperty('--position', `${(document.documentElement.scrollTop / contentHeight * visibleHeight) + 'px'}`) |
| 58 | //this.thumb.style.transform = `translateY(${(document.documentElement.scrollTop / contentHeight * visibleHeight) + 'px'})`; |
| 59 | } |
| 60 | |
| 61 | private addDragFunctionality() { |
| 62 | let isDragging = false; |
no outgoing calls
no test coverage detected