UNPKG

@exadel/esl

Version:

Exadel Smart Library (ESL) is the lightweight custom elements library that provide a set of super-flexible components

15 lines (14 loc) 782 B
declare const DEFAULT_SCROLL_TYPE = "negative"; /** @deprecated RTL scroll browser behaviors now always returns `negative` value */ export type ScrollType = typeof DEFAULT_SCROLL_TYPE; /** Checks if the element in a RTL direction context */ export declare const isRTL: (el?: HTMLElement | null) => boolean; /** @deprecated scroll type is now consistent and always returns a `negative` value */ export declare const testRTLScrollType: () => ScrollType; /** @deprecated scroll type is now consistent and always returns a `negative` value */ export declare const RTLScroll: { /** @returns RTL scroll type (lazy, memoized) */ readonly type: ScrollType; }; export declare const normalizeScrollLeft: (el: HTMLElement, value?: number | null, isRtl?: boolean) => number; export {};