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
26 lines (25 loc) • 1.48 kB
TypeScript
import * as i0 from "@angular/core";
/**
* Renders a custom multiselectable checkbox input, adapting its icons based on the current platform (iOS or others).
* Supports all standard input checkbox properties.
*/
export declare class MultiselectableComponent {
private platformService;
private elementRef;
/** Name attribute value for input */
name: import("@angular/core").InputSignal<string>;
/** Value attribute value 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>;
/** Event when state changes */
change: import("@angular/core").OutputEmitterRef<Event>;
/** Checks if current platform is iOS */
isIOS: import("@angular/core").Signal<boolean>;
/** Change event handler */
onChange(event: Event): void;
static ɵfac: i0.ɵɵFactoryDeclaration<MultiselectableComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<MultiselectableComponent, "tgui-multiselectable", 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>;
}