/
githubmirror
/
angular
Обзор
Документация
Войти
/
githubmirror
/
angular
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
adev/src/app/features/references/api-items-section/api-items-section.component.html
44 строки
1 KB
Georgi Serev
docs(docs-infra): update the look of api items state labels
27 янв 2026, 01:30
Не верифицирован
27 янв 2026, 01:30
9625780
Код
Авторство
О чём код?
<header class="adev-api-items-section-header"> <h3 [id]="group().id"> <a routerLink="/api" [fragment]="group().id" queryParamsHandling="preserve" class="adev-api-anchor" tabindex="-1" > {{ group().title }} </a> </h3> </header> <ul class="adev-api-items-section-grid"> @for (apiItem of group().items; track apiItem.url) { <li [class.adev-api-items-section-item-deprecated]="apiItem.deprecated"> <a [routerLink]="'/' + apiItem.url" class="adev-api-items-section-item" [attr.aria-describedby]="apiItem.deprecated ? 'deprecated-description' : null" > <docs-api-item-label [type]="apiItem.itemType" mode="short" class="docs-api-item-label" aria-hidden="true" /> <span class="adev-item-title" [attr.title]="apiItem.title">{{ apiItem.title }}</span> </a> @if (apiItem.deprecated) { <span class="adev-item-attribute adev-deprecated" matTooltip="Deprecated"> DEPR </span> } @if (apiItem.experimental) { <span class="adev-item-attribute adev-experimental" matTooltip="Experimental"> EXP </span> } @if (apiItem.developerPreview) { <span class="adev-item-attribute adev-dev-preview" matTooltip="Developer Preview"> DEV </span> } </li> } </ul>