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) • 759 B
import { TemplateRef, AfterViewInit, OnDestroy } from '@angular/core'; import * as i0 from "@angular/core"; /** * Component for rendering content in the portal container * Similar to RootRenderer in React version */ export declare class RootPortalComponent implements AfterViewInit, OnDestroy { contentTemplate: TemplateRef<any>; private destroy$; private viewRef; private templateReady; private portalService; private viewContainerRef; private cdr; constructor(); ngAfterViewInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<RootPortalComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<RootPortalComponent, "tgui-root-portal", never, {}, {}, never, ["*"], true, never>; }