How can my customDirective listen to the clrDateChange output in the following example?
<clr-date-container customDirective>
<label for="dateControl">Requirement Date</label>
<input id="dateControl" type="date" [placeholder]="'TT.MM.YYYY'" [(clrDate)]="item.requirementDate" (clrDateChange)="onChange($event)" [ngModel]="null" name="requirementDate"/>
<clr-control-error>{{ 'FORMS.VALIDATION.DATE_INVALID' | translate }}</clr-control-error>
</clr-date-container>
For normal DOM events I can use
elementRef.nativeElement.querySelector('input')
to retrieve the child input element. However clrDateChange is an angular output.
I want to know if it is generally possible for directive to listen to child component outputs.