CachingDeferredContentDirective constructor
CachingDeferredContentDirective(
- ViewContainerRef _viewContainer,
- TemplateRef _template,
- DeferredContentAware parent,
- ChangeDetectorRef changeDetector,
Implementation
CachingDeferredContentDirective(
this._viewContainer,
this._template,
DeferredContentAware parent,
ChangeDetectorRef changeDetector,
) {
_disposer.addStreamSubscription(parent.contentVisible.listen((value) {
_setVisible(value);
changeDetector.markForCheck();
}));
}