src/lib/markup-kit/utils/filtered-field/filtered-field-container/filtered-field-container.component.ts
A container component for filtered fields.
Example of usage:
<mefdev-filtered-field-container>
<mefdev-filtered-field-item
[item]="filterItem"
(discard)="onDiscardFilter($event)"
(openFilter)="onOpenFilter()">
</mefdev-filtered-field-item>
</mefdev-filtered-field-container>
Example of usage:
OnInit
selector | mefdev-filtered-field-container |
styleUrls | ./filtered-field-container.component.scss |
templateUrl | ./filtered-field-container.component.html |
Properties |
Methods |
constructor(service: FilteredFieldService)
|
||||||
Parameters :
|
onDiscard | ||||||||
onDiscard(item: FiltredItemModel)
|
||||||||
Event handler for discarding the filter.
Parameters :
Returns :
void
|
onOpenFilter | ||||||||
onOpenFilter(item: FiltredItemModel)
|
||||||||
Event handler for opening the filter.
Parameters :
Returns :
void
|
items |
Type : FiltredItemModel[]
|
Default value : []
|
An array of filtered item models. |