UNPKG

bitandblack-rows

Version:

A small and simple CSS gutter to create rows and cells using the flexbox model.

62 lines (61 loc) 1.06 kB
/** * Bit&Black Rows * * @copyright Copyright (c) Bit&Black * @author Tobias Köngeter <hello@bitandblack.com> * @link https://www.bitandblack.com */ /** * Tracking the viewport and viewport changes. */ declare class Viewport { /** * @private */ private readonly viewports; /** * @private */ private resizeTimeout; /** * @param viewportName */ private callback; /** * @private */ private readonly mainSelector; /** * @private */ private viewportName; /** * Constructor. */ constructor(); /** * @private */ private onWindowResize; /** * @private */ private init; /** * @private */ private resize; /** * Sets the resize callback. * * @param customCallback */ onResize: (customCallback: any) => Viewport; /** * Returns the name of the current viewport. * * @return string */ getViewportName: () => string; } export { Viewport };