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