UNPKG

jiro-ui

Version:

A Mithril.js UI library based from construct-ui

17 lines (16 loc) 506 B
import { Breakpoints } from '../../_shared'; declare class ResponsiveManager { private isInitialized; /** Key value of active breakpoints */ breakpoints: { [breakpoint: string]: boolean; }; /** Binds initial breakpoints */ initialize(): void; /** Checks if current breakpoint string is active */ is(key: keyof typeof Breakpoints): boolean; /** Unbinds all breakpoints */ destroy(): void; } declare const _default: ResponsiveManager; export default _default;