All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.src.dir-utils.d.ts Maven / Gradle / Ivy

There is a newer version: 24.5.3
Show newest version
/**
 * @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;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy