@if (direction === 'horizontal') { }
@if (groups.length === 0 || direction === 'horizontal') { @for (step of steps; track step; let i = $index; let isLast = $last; let isFirst = $first) { } } @else { @for (group of groups; track group; let i = $index) {
{{ group.label }}
@for (step of group.steps; track step; let isLast = $last) { }
} }
@if (direction === 'horizontal') {
@for (step of steps; track step; let i = $index) {
{{ step.label }}
}
}
{{ currentLabel }}
@for (step of steps; track step; let i = $index) {
}