package.src.dir-utils.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of component-base Show documentation
Show all versions of component-base Show documentation
Vaadin component base mixins
/**
* @license
* Copyright (c) 2021 - 2023 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
/**
* Get the scrollLeft value of the element relative to the direction
*/
export declare function getNormalizedScrollLeft(element: HTMLElement, direction: string | null): number;
/**
* Set the scrollLeft value of the element relative to the direction
*/
export declare function setNormalizedScrollLeft(
element: HTMLElement,
direction: string | null,
scrollLeft: number,
): void;