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

30 lines (29 loc) • 1.21 kB
import * as i0 from "@angular/core"; /** * Renders a linear progress bar that visually represents completion percentage towards a goal. * The component respects accessibility standards by including appropriate ARIA attributes. */ export declare class ProgressComponent { private platformService; protected readonly PROGRESS_MIN_VALUE = 0; protected readonly PROGRESS_MAX_VALUE = 100; /** * The current value of the progress bar, expressed as a percentage. * The value should be between 0 and 100. */ value: import("@angular/core").InputSignal<number>; /** * Computed value that ensures the progress is clamped between min and max values */ progressValue: import("@angular/core").Signal<number>; /** * Computes the title attribute for accessibility */ get progressTitle(): string; /** * Indicates if platform is base */ get isPlatformBase(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration<ProgressComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ProgressComponent, "tgui-progress", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>; }