MCPcopy
hub / github.com/dolphin-wood/smooth-scrollbar / ScrollbarTrack

Interface ScrollbarTrack

src/interfaces/track.ts:11–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9}
10
11export interface ScrollbarTrack {
12 readonly element: HTMLElement;
13 readonly thumb: ScrollbarThumb;
14
15 attachTo(container: HTMLElement): void;
16 show(): void;
17 hide(): void;
18 update(scrollOffset: number, containerSize: number, pageSize: number): void;
19}
20
21export interface TrackController {
22 readonly xAxis: ScrollbarTrack;

Callers 6

constructorMethod · 0.65
setPositionFunction · 0.65
renderMethod · 0.65
updateScrollbarFunction · 0.65
autoHideOnIdleMethod · 0.65
updateScrollbarFunction · 0.65

Implementers 1

ScrollbarTracksrc/track/track.ts

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…