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

33 lines (32 loc) 1.37 kB
import { EventEmitter } from '@angular/core'; import * as i0 from "@angular/core"; /** * TabsItem component represents an individual tab within a TabsList. * It can be interactively selected to display associated content. */ export declare class TabsItemComponent { /** External parameter for tab selection */ selected: import("@angular/core").InputSignal<boolean>; /** Internal signal for managing selection state */ private _isSelected; /** Computed value considering both sources (internal has priority) */ isSelectedValue: import("@angular/core").Signal<boolean>; /** Event that fires when tab is clicked */ select: EventEmitter<void>; /** Getting platform information */ private platformService; constructor(); /** Check if platform is iOS */ get isIOS(): boolean; /** Bind selected class to host */ get isSelected(): boolean; /** Tab click handler */ onClick(): void; /** * Public method to set tab selection value * from parent component */ setSelected(value: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration<TabsItemComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<TabsItemComponent, "tgui-tabs-item", never, { "selected": { "alias": "selected"; "required": false; "isSignal": true; }; }, { "select": "select"; }, never, ["*"], true, never>; }