/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/components-examples/aria/tree/tree-single-select/tree-single-select-example.ts
25 строк
728 B
Kristiyan Kostadinov
refactor(multiple): remove unnecessary fields from examples (#32083)
16 окт 2025, 05:19
Не верифицирован
16 окт 2025, 05:19
7c41a44
Код
Авторство
О чём код?
/** * @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 {Component} from '@angular/core'; import {NgTemplateOutlet} from '@angular/common'; import {Tree, TreeItem, TreeItemGroup} from '@angular/aria/tree'; import {TreeNode, NODES} from '../tree-data'; /** * @title Tree with single selection. */ @Component({ selector: 'tree-single-select-example', templateUrl: 'tree-single-select-example.html', styleUrl: '../tree-common.css', imports: [Tree, TreeItem, TreeItemGroup, NgTemplateOutlet], }) export class TreeSingleSelectExample { nodes: TreeNode[] = NODES; }