@exadel/esl
Version:
Exadel Smart Library (ESL) is the lightweight custom elements library that provide a set of super-flexible components
19 lines (18 loc) • 579 B
TypeScript
import { MediaQueryCondition } from '../conditions/media-query-condition';
/**
* DPR preprocessor. Used to replace DPR shortcuts.
* @author Alexey Stsefanovich (ala'n)
*
* @implements IMediaQueryPreprocessor statically
*/
export declare class ESLScreenDPR {
protected static readonly VALUE_REGEXP: RegExp;
static toDPI(dpr: number): string;
static getMedia(match: string): string | undefined;
static process(match: string): MediaQueryCondition | undefined;
}
declare global {
export interface ESLLibrary {
ScreenDPR: typeof ESLScreenDPR;
}
}