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

18 lines (17 loc) 995 B
import * as i0 from "@angular/core"; /** * Modal close button component providing accessible close functionality. * Must be used within a Modal component to function properly. * Supports custom content and interactive animations. */ export declare class ModalCloseComponent { /** Type of interactive animation */ interactiveAnimation: import("@angular/core").InputSignal<"opacity" | "background">; /** Custom aria-label for accessibility */ ariaLabel: import("@angular/core").InputSignal<string>; handleClick(): void; handleKeyDown(event: KeyboardEvent): void; private closeModal; static ɵfac: i0.ɵɵFactoryDeclaration<ModalCloseComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ModalCloseComponent, "tgui-modal-close", never, { "interactiveAnimation": { "alias": "interactiveAnimation"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>; }