Tooltip angular material
Html
<button mat-raised-button
matTooltip="Info about the action"
aria-label="Button that displays a tooltip when focused or hovered over">
Action
</button>
TS
import {Component} from '@angular/core';
/**
* @title Basic tooltip
*/
@Component({
selector: 'tooltip-overview-example',
templateUrl: 'tooltip-overview-example.html',
styleUrls: ['tooltip-overview-example.css'],
})
export class TooltipOverviewExample {}