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

27 lines (26 loc) 1.58 kB
import * as i0 from "@angular/core"; /** * Renders a checkbox input with custom styling and optional indeterminate state. * The component visually hides the actual input element for accessibility * while providing a custom styled appearance. */ export declare class CheckboxComponent { private platformService; private elementRef; /** Value of the name attribute for input */ name: import("@angular/core").InputSignal<string>; /** Value of the value attribute for input */ value: import("@angular/core").InputSignal<string>; /** Set checked state */ checked: import("@angular/core").InputSignal<boolean>; /** Set disabled state */ disabled: import("@angular/core").InputSignal<boolean>; /** Set indeterminate state */ indeterminate: import("@angular/core").InputSignal<boolean>; /** Event when state changes */ change: import("@angular/core").OutputEmitterRef<Event>; /** Change event handler */ onChange(event: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "tgui-checkbox", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; }, { "change": "change"; }, never, never, true, never>; }