UNPKG

@wix/design-system

Version:

@wix/design-system

17 lines 658 B
export declare const normalizeIndex: (idx: number, len: number, wrap?: boolean) => number; export declare const nop: () => void; export declare const easeOutQuint: (t: number) => number; export declare const isWhollyInView: (parent: HTMLElement) => (child?: { getBoundingClientRect: () => { left: number; right: number; }; }) => boolean; export declare const animate: (el: HTMLElement, { delta, immediate, duration, easing, prop, }: { delta?: number; immediate?: boolean; duration?: number; easing?: (t: number) => number; prop?: "scrollTop" | "scrollLeft"; }) => Promise<void>; //# sourceMappingURL=utils.d.ts.map