File

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

Description

Component representing a filtered field item.

Example of usage:

<mefdev-filtered-field-item [item]="filterItem" (discard)="onDiscardFilter($event)" (openFilter)="onOpenFilter()">
</mefdev-filtered-field-item>

Implements

OnInit

Metadata

Index

Methods
Inputs
Outputs

Constructor

constructor()

Inputs

item
Type : FiltredItemModel

The filtered item model.

<mefdev-filtered-field-item [item]="filterItem">
Content goes here...
</mefdev-filtered-field-item>

Outputs

discard
Type : EventEmitter

Event emitted when the filter is discarded.

<mefdev-filtered-field-item (discard)="onDiscardFilter($event)">
Content goes here...
</mefdev-filtered-field-item>
openFilter
Type : EventEmitter

Event emitted when the filter is opened.

<mefdev-filtered-field-item (openFilter)="onOpenFilter()">
Content goes here...
</mefdev-filtered-field-item>

Methods

onDiscard
onDiscard()

Event handler for discarding the filter. Emits the discard event with the item as the payload.

Returns : void
onOpenFilter
onOpenFilter()

Event handler for opening the filter. Emits the openFilter event.

Returns : void

results matching ""

    No results matching ""