/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/cdk/menu/menu-group.ts
24 строки
672 B
Andrew Seguin
refactor: use relative imports within module npm packages (#30588)
12 мар 2025, 00:40
Не верифицирован
12 мар 2025, 00:40
626a465
Код
Авторство
О чём код?
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {Directive} from '@angular/core'; import {UniqueSelectionDispatcher} from '../collections'; /** * A grouping container for `CdkMenuItemRadio` instances, similar to a `role="radiogroup"` element. */ @Directive({ selector: '[cdkMenuGroup]', exportAs: 'cdkMenuGroup', host: { 'role': 'group', 'class': 'cdk-menu-group', }, providers: [{provide: UniqueSelectionDispatcher, useClass: UniqueSelectionDispatcher}], }) export class CdkMenuGroup {}