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

19 lines (18 loc) • 838 B
import { ElementRef } from '@angular/core'; import { TguiIconProps } from '../icon.interface'; import * as i0 from "@angular/core"; /** * Directive for automatic passing of icon properties to SVG element * Allows using an approach similar to {...props} in React */ export declare class TguiSvgPropsDirective { private el; props: import("@angular/core").InputSignal<TguiIconProps | undefined>; constructor(el: ElementRef<SVGElement>); private applyProps; private setupEventHandlers; private removeEventHandlers; private kebabCase; static ɵfac: i0.ɵɵFactoryDeclaration<TguiSvgPropsDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<TguiSvgPropsDirective, "[tguiSvgProps]", never, { "props": { "alias": "props"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>; }