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

21 lines (20 loc) • 1.48 kB
import { PlatformService } from '../../../services/platform.service'; import * as i0 from "@angular/core"; /** * Renders a compact element representing an input, attribute, or action. * Chips can include icons, text, or both, and are used to trigger actions, * input information, or represent a complex piece of information in a compact form. */ export declare class ChipComponent { /** Defines the visual style of the chip, affecting its background, border, and shadow. */ mode: import("@angular/core").InputSignal<"outline" | "elevated" | "mono">; /** Content or component to be placed before the main text, typically an icon or avatar. */ before: import("@angular/core").InputSignal<any>; /** Content or component to be placed after the main text, such as an icon indicating an action. */ after: import("@angular/core").InputSignal<any>; /** Custom class name */ className: import("@angular/core").InputSignal<string>; protected platformService: PlatformService; static ɵfac: i0.ɵɵFactoryDeclaration<ChipComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ChipComponent, "tgui-chip", never, { "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "before": { "alias": "before"; "required": false; "isSignal": true; }; "after": { "alias": "after"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>; }