@logo-elements/component-base
Version:
A set of mixins used by Logo Elements which is extended from Vaadin components.
23 lines (19 loc) • 846 B
TypeScript
/**
* @license
* Copyright LOGO YAZILIM SANAYİ VE TİCARET A.Ş.
*
* Save to the extent permitted by law, you may not use, copy, modify,
* distribute or create derivative works of this material or any part
* of it without the prior written consent of LOGO YAZILIM SANAYİ VE TİCARET A.Ş. Limited.
* Any reproduction of this material must contain this notice.
*/
// @ts-ignore
import { Constructor } from '@open-wc/dedupe-mixin';
/**
* A mixin to handle `dir` attribute based on the one set on the `<html>` element.
*/
export declare function DirMixin<T extends Constructor<HTMLElement>>(base: T): T & Constructor<DirMixinClass>;
export declare class DirMixinClass {
protected __getNormalizedScrollLeft(element: Element | null): number;
protected __setNormalizedScrollLeft(element: Element | null, scrollLeft: number): void;
}