I'm placing a component inside textbox and textarea suffixes:
<kendo-textarea #noteInput
[(ngModel)]="newNote"
[maxlength]="MAX_LENGTH_NOTE"
>
<kendo-textarea-suffix>
<ci-counter
[value]="noteInput.value"
[max]="noteInput.maxlength"
[displayAtThreshold]="100"
></ci-counter>
</kendo-textarea-suffix>
</kendo-textarea>
That works fine, but I'd like to remove them when the input isn't being edited. Is there any property or other way to know this through the template? Such as:
<kendo-textarea #noteInput
[(ngModel)]="newNote"
[maxlength]="MAX_LENGTH_NOTE"
>
<kendo-textarea-suffix>
<ci-counter *ngIf="noteInput.???"
[value]="noteInput.value"
[max]="noteInput.maxlength"
[displayAtThreshold]="100"
></ci-counter>
</kendo-textarea-suffix>
</kendo-textarea>