/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/components-examples/material/tooltip/tooltip-manual/tooltip-manual-example.html
28 строк
906 B
Kristiyan Kostadinov
refactor(multiple): switch button selectors
14 мар 2025, 09:04
14 мар 2025, 09:04
103ac7c
Код
Авторство
О чём код?
<div> <span> Click the following buttons to... </span> <button matButton (click)="tooltip.show()" aria-label="Show tooltip on the button at the end of this section" class="example-action-button"> show </button> <button matButton (click)="tooltip.hide()" aria-label="Hide tooltip on the button at the end of this section" class="example-action-button"> hide </button> <button matButton (click)="tooltip.toggle()" aria-label="Show/Hide tooltip on the button at the end of this section" class="example-action-button"> toggle show/hide </button> </div> <button matButton="elevated" #tooltip="matTooltip" matTooltip="Info about the action" matTooltipPosition="right" aria-tooltip="Button that displays and hides a tooltip triggered by other buttons"> Action </button>