mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
e1ab001e54
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>
|
|
}
|