/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/components-examples/aria/listbox/listbox-readonly/listbox-readonly-example.html
24 строки
639 B
Kristiyan Kostadinov
refactor(multiple): expose APIs necessary for demos
27 окт 2025, 18:44
27 окт 2025, 18:44
f0e411b
Код
Авторство
О чём код?
<!-- Readonly --> <div class="example-container"> <ul ngListbox [readonly]="true" class="example-listbox example-parent" aria-labelledby="readonly-label" > <label class="example-label" id="readonly-label">Readonly Fruits</label> @for (fruit of fruits; track fruit) { <li class="example-option example-stateful example-selectable" [value]="fruit" ngOption #option="ngOption" > <mat-pseudo-checkbox [state]="option.selected() ? 'checked' : 'unchecked'" ></mat-pseudo-checkbox> <span>{{ fruit }}</span> </li> } </ul> </div>