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) • 789 B
import { AfterViewInit, OnDestroy, TemplateRef } from '@angular/core'; import * as i0 from "@angular/core"; /** * Component for rendering content in the portal container * Equivalent to RootRenderer in React version * Used for rendering content outside of normal DOM hierarchy (modals, popups, etc.) */ export declare class RootRendererComponent implements AfterViewInit, OnDestroy { contentTemplate: TemplateRef<any>; private portalService; private viewContainerRef; private viewRef; constructor(); ngAfterViewInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<RootRendererComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<RootRendererComponent, "tgui-root-renderer", never, {}, {}, never, ["*"], true, never>; }