Skip to content

@technobuddha > react-hooks > DOM > Measurement

Type Alias: ScrollbarSize

ts
type ScrollbarSize = {
  scrollbarHeight: number;
  scrollbarWidth: number;
};

Defined in: size.ts:6

Represents the dimensions of a scrollbar.

Properties

PropertyTypeDescriptionDefined in
scrollbarHeightnumberThe height of the scrollbar in pixels.src/size.ts:10
scrollbarWidthnumberThe width of the scrollbar in pixels.src/size.ts:8