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
6 lines (5 loc) • 412 B
TypeScript
import { autoUpdate, AutoUpdateOptions, FloatingElement, ReferenceElement } from '@floating-ui/dom';
/**
* Enhances the autoUpdate function from floating-ui with additional element resize support
*/
export declare const autoUpdateFloatingElement: (reference: ReferenceElement | null, floating: FloatingElement | null, update: () => void, options?: Partial<AutoUpdateOptions>) => ReturnType<typeof autoUpdate>;