Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | 2x 2x 2x 7x 7x 7x | import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
import { FilterNavigation } from 'ish-core/models/filter-navigation/filter-navigation.model';
import { URLFormParams } from 'ish-core/utils/url-form-params';
@Component({
selector: 'ish-filter-navigation-sidebar',
templateUrl: './filter-navigation-sidebar.component.html',
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class FilterNavigationSidebarComponent {
@Input({ required: true }) filterNavigation: FilterNavigation;
@Output() applyFilter = new EventEmitter<{ searchParameter: URLFormParams }>();
/**
* keeps the collapsed state of sub components when changing filters
*/
collapsedElements: { [id: string]: boolean } = {};
/**
* keeps the show all state of sub components when changing filters
*/
showAllElements: { [id: string]: boolean } = {};
}
|