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

16 lines (15 loc) • 571 B
import { OnInit } from '@angular/core'; import * as i0 from "@angular/core"; /** * Directive that automatically loads the TGUI styles * This should be applied once on a root element (typically body or app-root) */ export declare class ThemeDirective implements OnInit { private stylesPath; private el; private renderer; ngOnInit(): void; private loadStyles; static ɵfac: i0.ɵɵFactoryDeclaration<ThemeDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<ThemeDirective, "[tguiTheme]", never, {}, {}, never, never, true, never>; }