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

Interface ScrollbarThumb

src/interfaces/track.ts:1–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1export interface ScrollbarThumb {
2 readonly element: HTMLElement;
3 displaySize: number;
4 realSize: number;
5 offset: number;
6
7 attachTo(track: HTMLElement): void;
8 update(scrollOffset: number, containerSize: number, pageSize: number): void;
9}
10
11export interface ScrollbarTrack {
12 readonly element: HTMLElement;

Callers 2

constructorMethod · 0.65
constructorMethod · 0.65

Implementers 2

ScrollbarThumbsrc/track/thumb.ts
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…