Commits
Michael Spalti authored db9a6e4a866
1 1 | import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; |
2 2 | import { Observable } from 'rxjs'; |
3 3 | import { TranslateService } from '@ngx-translate/core'; |
4 4 | |
5 5 | @Component({ |
6 6 | selector: 'ds-results-back-button', |
7 7 | styleUrls: ['./results-back-button.component.scss'], |
8 8 | templateUrl: './results-back-button.component.html', |
9 9 | changeDetection: ChangeDetectionStrategy.OnPush, |
10 10 | }) |
11 11 | /** |
12 - | * Component to add back to result list button to item. |
12 + | * Component for creating a back to result list button. |
13 13 | */ |
14 14 | export class ResultsBackButtonComponent implements OnInit { |
15 15 | |
16 16 | /** |
17 17 | * The function used for back navigation. |
18 18 | */ |
19 19 | @Input() back: () => void; |
20 20 | |
21 21 | /** |
22 22 | * The button label translation. |