I'm working with Angular 15.1 & Angular Material 15.1 and I need to use MatTooltip directive with the host component. I know I can create a wrapper and use tooltip attribute - but I need a solution with the host component.
I tried to use MatTooltip like that:
host: {
'[attr.matTooltip]': 'some text',
}
and also with ViewContainerRef, createComponent method and @HostListener, but none of the options did work out