Skip to main content

Item

This section describes the BfmCostCenterItemComponent component.

Usage

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


import { BfmCostCenterItemComponent } from '@celerofinancas/ui-company-kit';

@Component({
standalone: true,
selector: 'cost-center-item',
imports: [BfmCostCenterItemComponent],
templateUrl: './cost-center-item.component.html',
})
export class CostCenterItemComponent {}

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


<bfm-cost-center-item
[costCenter]="costCenterData"
(deletionCalled)="handleDeletion($event)"
(refreshList)="handleRefreshList($event)"
/>

Inputs

The BfmCostCenterItemComponent component has the following inputs:

costCenter

Cost center data.

TypeDefault
object{}

Events

The BfmCostCenterItemComponent component has the following events:

deletionCalled

Event emitted when the deletion is called.

TypeDefault
EventEmitternew EventEmitter()

refreshList

Event emitted when the list needs to be refreshed.

TypeDefault
EventEmitternew EventEmitter()