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
17 lines (16 loc) • 784 B
TypeScript
import * as i0 from "@angular/core";
/**
* Provides a way to hide or show content, such as details or spoilers, with a simple click.
* The visibility state can be controlled externally via props or toggled by user interaction.
*/
export declare class SpoilerComponent {
private elementRef;
visible: import("@angular/core").InputSignal<boolean>;
private isVisible;
get isVisibleState(): boolean;
ngOnChanges(): void;
onClick(event: Event): void;
onKeyDown(event: KeyboardEvent): void;
static ɵfac: i0.ɵɵFactoryDeclaration<SpoilerComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<SpoilerComponent, "tgui-spoiler", never, { "visible": { "alias": "visible"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
}