mirror of
https://github.com/angular/angular.git
synced 2026-11-23 07:05:14 -05:00
A handfull of different code cleanups in adev components. PR Close #59395
14 lines
386 B
HTML
14 lines
386 B
HTML
@for (breadcrumb of breadcrumbItems(); track $index) {
|
|
<div class="docs-breadcrumb">
|
|
@if (breadcrumb.path) {
|
|
@if (breadcrumb.isExternal) {
|
|
<a [href]="breadcrumb.path">{{ breadcrumb.label }}</a>
|
|
} @else {
|
|
<a [routerLink]="'/' + breadcrumb.path">{{ breadcrumb.label }}</a>
|
|
}
|
|
} @else {
|
|
<span>{{ breadcrumb.label }}</span>
|
|
}
|
|
</div>
|
|
}
|