@if (isBar()) {
@for (item of projectedItems(); track item) {
@if (asTemplateRef(item.icon()); as iconTemplate) {
} @else {
{{ asText(item.icon()) }}
}
@if (item.activeIcon()) {
@if (asTemplateRef(item.activeIcon()); as activeIconTemplate) {
} @else {
{{ asText(item.activeIcon()) }}
}
}
@if (asTemplateRef(item.label()); as labelTemplate) {
} @else {
{{ asText(item.label()) }}
}
}
} @else {
@if (railShowToggle()) {
}
@if (primaryActionTemplate(); as primaryAction) {
}
@for (item of projectedItems(); track item) {
@if (asTemplateRef(item.icon()); as iconTemplate) {
} @else {
{{ asText(item.icon()) }}
}
@if (item.activeIcon()) {
@if (asTemplateRef(item.activeIcon()); as activeIconTemplate) {
} @else {
{{ asText(item.activeIcon()) }}
}
}
@if (asTemplateRef(item.label()); as labelTemplate) {
} @else {
{{ asText(item.label()) }}
}
}
}