/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/components-examples/material/tooltip/tooltip-delay/tooltip-delay-example.html
20 строк
857 B
Kristiyan Kostadinov
refactor(multiple): switch button selectors
14 мар 2025, 09:04
14 мар 2025, 09:04
103ac7c
Код
Авторство
О чём код?
<mat-form-field class="example-user-input"> <mat-label>Show delay</mat-label> <input matInput type="number" [formControl]="showDelay" aria-label="Adds a delay between hovering over the button and displaying the tooltip"> <mat-hint>milliseconds</mat-hint> </mat-form-field> <mat-form-field class="example-user-input"> <mat-label>Hide delay</mat-label> <input matInput type="number" [formControl]="hideDelay" aria-label="Adds a delay between hovering away from the button and hiding the tooltip"> <mat-hint>milliseconds</mat-hint> </mat-form-field> <button matButton="elevated" matTooltip="Info about the action" [matTooltipShowDelay]="showDelay.value" [matTooltipHideDelay]="hideDelay.value" aria-label="Button that displays a tooltip with a customized delay in showing and hiding"> Action </button>