Skip to main content

BfmListCellComponent

This section describes the BfmListCellComponent component.

Usage

You need to import it in your module and use it in your template.

list-cell.component.ts
import { BfmListCellComponent } from '@celerofinancas/ui-charges';

@Component({
standalone: true,
selector: 'list-cell',
imports: [BfmListCellComponent],
templateUrl: './list-cell.component.html',
})
export class ListCellComponent {}

Then, in your template, you can use the component like this:

list-cell.component.html
<bfm-list-cell
[empty]="false"
[hoverTitle]="'Hover Title'"
[imageSource]="'Image Source'"
[isInvalid]="false"
[title]="'Title'"
(clickEvent)="handleClickEvent($event)"
/>

Inputs

The BfmListCellComponent component has the following inputs:

empty

Whether cell is empty

TypeDefault
booleanfalse

hoverTitle

Hover Title of cell

TypeDefault
string''

imageSource

Image Source

TypeDefault
string''

isInvalid

Invalid cell state

TypeDefault
booleanfalse

title

Title of cell

TypeDefault
string''

Events

The BfmListCellComponent component has the following Events:

clickEvent

Click event emitter

Type
EventEmitter