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
25 lines (24 loc) • 1.34 kB
TypeScript
import * as i0 from "@angular/core";
/**
* Renders a radio button input with custom styling.
* The component visually hides the actual input element for accessibility
* while providing a custom styled appearance.
*/
export declare class RadioComponent {
private platformService;
private elementRef;
/** Name attribute for input */
name: import("@angular/core").InputSignal<string>;
/** Value attribute for input */
value: import("@angular/core").InputSignal<string>;
/** Sets the checked state */
checked: import("@angular/core").InputSignal<boolean>;
/** Sets the disabled state */
disabled: import("@angular/core").InputSignal<boolean>;
/** Event emitted on change */
change: import("@angular/core").OutputEmitterRef<Event>;
/** Change event handler */
onChange(event: Event): void;
static ɵfac: i0.ɵɵFactoryDeclaration<RadioComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "tgui-radio", 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; }; }, { "change": "change"; }, never, never, true, never>;
}