TemplatePortalDirective constructor
TemplatePortalDirective(
- TemplateRef templateRef,
- ViewContainerRef viewContainerRef
Implementation
TemplatePortalDirective(
TemplateRef templateRef, ViewContainerRef viewContainerRef)
: super(templateRef, viewContainerRef) {
// TODO(google): Consider a better or standard pattern for this.
scheduleMicrotask(() {
_ready.add(this);
});
}