UNPKG

tgui-angular

Version:

🚀 Angular UI library for Telegram Web Apps with modern components and theming support | 💼 Author is open to work opportunities | 📧 Contact: a.blagovestnov@gmail.com | 💬 Telegram: @ablagovestnov

11 lines (10 loc) • 425 B
import { Placement } from '@floating-ui/dom'; import { AutoPlacementType, PlacementWithAuto } from '../types'; /** * Checks if the placement is not an auto-placement */ export declare const isNotAutoPlacement: (placement: PlacementWithAuto) => placement is Placement; /** * Gets the alignment for auto-placement */ export declare const getAutoPlacementAlignment: (placement: AutoPlacementType) => "start" | "end" | null;