UNPKG

517 BTypeScriptView Raw
1/**
2 * Encapsulates all interaction data needed by the Media component. The data is
3 * generated on initialization so no further runtime work is necessary.
4 */
5export declare class Interactions {
6 static validKeys(): string[];
7 private _interactions;
8 constructor(interactions: {
9 [name: string]: string;
10 });
11 toRuleSets(): string[];
12 get interactions(): string[];
13 get dynamicResponsiveMediaQueries(): {};
14 shouldRenderMediaQuery(interaction: string, onlyMatch: string[]): boolean;
15}