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.
| Type | Default |
|---|---|
object | {} |
Events
The BfmCostCenterItemComponent component has the following events:
deletionCalled
Event emitted when the deletion is called.
| Type | Default |
|---|---|
EventEmitter | new EventEmitter() |
refreshList
Event emitted when the list needs to be refreshed.
| Type | Default |
|---|---|
EventEmitter | new EventEmitter() |