UNPKG

@exadel/esl

Version:

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

26 lines (25 loc) 1.14 kB
import { ESLMediaRuleList } from '../../esl-media-query/core'; import { ESLMixinElement } from '../../esl-mixin-element/core'; /** * ESLLineClampAlt mixin element * @author Feoktyst Shovchko * * ESLLineClampAlt is a custom attribute designed to work complementary to {@link ESLLineClamp} * Its purpose is to provide alternative line clamp values that can be toggled, * allowing to switch between the regular clamp configuration and an alternative one. */ export declare class ESLLineClampAlt extends ESLMixinElement { static is: string; /** Media query to activate alternate clamping with number of lines */ lines: string; /** CSS variable to set alternate line clamp value */ ALT_LINE_CLAMP_VAR: string; /** Media conditions tuple string (uses '|' as separator), to be used in case of tuple syntax */ mask: string; /** @returns parsed media rule list for line clamping configuration */ get linesQuery(): ESLMediaRuleList<string>; protected connectedCallback(): void; protected attributeChangedCallback(): void; protected updateLines(): void; protected onQueryChange(): void; }