UNPKG

@favian/headwind-ui

Version:

Headless UI for Angular - Styleless Angular components to integrate with Tailwind CSS

20 lines (19 loc) 883 B
import * as i0 from "@angular/core"; export declare class HeadwindWindowService { /** * Returns whether there is space for an element at the bottom of the Window * @param y - Y-axis position of the top of the element * @param height - Height of the element */ isBottomSpaceAvailable(y: number, height: number): boolean; /** * Returns whether there is space for an element at the top of the Window * @param y - Y-axis position of the bottom of the element * @param height - Height of the element */ isTopSpaceAvailable(y: number, height: number): boolean; isRightSpaceAvailable(x: number, width: number): boolean; isLeftSpaceAvailable(x: number, width: number): boolean; static ɵfac: i0.ɵɵFactoryDeclaration<HeadwindWindowService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<HeadwindWindowService>; }