/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/material/menu/menu.html
22 строки
805 B
Kristiyan Kostadinov
fix(material/menu): switch internal state to signals (#31934)
29 сен 2025, 19:06
Не верифицирован
29 сен 2025, 19:06
813f66b
Код
Авторство
О чём код?
<ng-template> <div class="mat-mdc-menu-panel" [id]="panelId" [class]="_classList" [class.mat-menu-panel-animations-disabled]="_animationsDisabled" [class.mat-menu-panel-exit-animation]="_panelAnimationState === 'void'" [class.mat-menu-panel-animating]="_isAnimating()" (click)="closed.emit('click')" tabindex="-1" role="menu" (animationstart)="_onAnimationStart($event.animationName)" (animationend)="_onAnimationDone($event.animationName)" (animationcancel)="_onAnimationDone($event.animationName)" [attr.aria-label]="ariaLabel || null" [attr.aria-labelledby]="ariaLabelledby || null" [attr.aria-describedby]="ariaDescribedby || null"> <div class="mat-mdc-menu-content"> <ng-content></ng-content> </div> </div> </ng-template>