File

src/lib/markup-kit/utils/filtered-field/filtered-field-container/filtered-field-container.component.ts

Description

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: https://mef.dev/ui_kit_demo/view/utils/filtered_field

Implements

OnInit

Metadata

Index

Properties
Methods

Constructor

constructor(service: FilteredFieldService)
Parameters :
Name Type Optional
service FilteredFieldService No

Methods

onDiscard
onDiscard(item: FiltredItemModel)

Event handler for discarding the filter.

Parameters :
Name Type Optional Description
item FiltredItemModel No

The filtered item model.

Returns : void
onOpenFilter
onOpenFilter(item: FiltredItemModel)

Event handler for opening the filter.

Parameters :
Name Type Optional Description
item FiltredItemModel No

The filtered item model.

Returns : void

Properties

items
Type : FiltredItemModel[]
Default value : []

An array of filtered item models.

results matching ""

    No results matching ""