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

33 lines (32 loc) 1.43 kB
import { EventEmitter, AfterContentInit } from '@angular/core'; import * as i0 from "@angular/core"; /** * CompactPaginationItem component represents an individual dot in a compact pagination. * It visually indicates whether it is selected and provides accessibility features. */ export declare class CompactPaginationItemComponent implements AfterContentInit { /** External selected state */ selected: import("@angular/core").InputSignal<boolean>; /** Internal selected state */ private _isSelected; /** Computed selected value */ isSelectedValue: import("@angular/core").Signal<boolean>; /** Element reference */ private elementRef; /** Flag to determine if content exists */ hasContent: boolean; /** Select event */ select: EventEmitter<void>; constructor(); ngAfterContentInit(): void; /** Host binding for selected class */ get isSelected(): boolean; /** Click handler */ onClick(): void; /** * Public method to set selected state from parent component */ setSelected(value: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration<CompactPaginationItemComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<CompactPaginationItemComponent, "tgui-compact-pagination-item", never, { "selected": { "alias": "selected"; "required": false; "isSignal": true; }; }, { "select": "select"; }, never, ["*"], true, never>; }