Make arrows configurable via API

This commit is contained in:
Daniel Imms
2026-02-02 12:33:33 -08:00
parent fae6f03f90
commit 77695cb405
11 changed files with 65 additions and 18 deletions
@@ -67,11 +67,6 @@ export interface IScrollableElementCreationOptions {
* Defaults to true.
*/
scrollPredominantAxis?: boolean;
/**
* Height for vertical arrows (top/bottom) and width for horizontal arrows (left/right).
* Defaults to 11.
*/
arrowSize?: number;
/**
* The dom node events should be bound to.
* If no listenOnDomNode is provided, the constructor dom node is used.
@@ -151,7 +146,6 @@ export interface IScrollableElementResolvedOptions {
fastScrollSensitivity: number;
scrollPredominantAxis: boolean;
mouseWheelSmoothScroll: boolean;
arrowSize: number;
listenOnDomNode: HTMLElement | null;
horizontal: ScrollbarVisibility;
horizontalScrollbarSize: number;