Currently working on an Angular 9 project that utilizes ngx-translate for translations and has some CSS for tooltips implemented.
Within the app.component.html file, I have inserted a button component:
<button
type="button"
tooltip={{ 'TITLE' | translate }}
tooltip-position='right'>
</button>
Encountering an issue with the following line of code:
tooltip={{ 'TITLE' | translate }}
Attempted an alternative approach as well:
tooltip="{{ 'TITLE' | translate }}"
However, the error message received is:
Can't bind to 'tooltip' since it isn't a known property of 'button'.
Interestingly, when I replace the translation binding with static text like this:
tooltip="Some text here"
The tooltip displays as expected.
In need of guidance on how to resolve this issue. Any suggestions or workarounds would be greatly appreciated.