UNPKG

441 BTypeScriptView Raw
1export declare type ScrollType = 'indeterminate' | 'default' | 'negative' | 'reverse';
2export declare function _setScrollType(type?: ScrollType): void;
3export declare function detectScrollType(): ScrollType;
4export declare function getNormalizedScrollLeft(element: HTMLElement, direction: 'rtl' | 'ltr'): number;
5export declare function setNormalizedScrollLeft(element: HTMLElement, scrollLeft: number, direction: 'rtl' | 'ltr'): void;