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

15 lines (14 loc) • 682 B
import { ElementRef, OnInit } from '@angular/core'; import * as i0 from "@angular/core"; /** * Directive that visually hides an element while keeping it accessible for screen readers. * Used for improving accessibility by providing context for screen reader users * without affecting the visual presentation. */ export declare class VisuallyHiddenDirective implements OnInit { private el; constructor(el: ElementRef<HTMLElement>); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<VisuallyHiddenDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<VisuallyHiddenDirective, "[tguiVisuallyHidden]", never, {}, {}, never, never, true, never>; }