NgIf constructor
NgIf(
- @Optional() ViewContainerRef? _viewContainer,
- @Optional() TemplateRef? _templateRef
Implementation
NgIf(@Optional() this._viewContainer, @Optional() this._templateRef);