Result
This section describes the BfmCostCenterResultComponent component.
Composition
The BfmCostCenterResultComponent is composed of the following components:
- BfmCostCenterItemComponent - Cost center item component.
Usage
You need to import the BfmCostCenterResultComponent in your module and use it in your template.
result.component.ts
import { BfmCostCenterResultComponent } from '@celerofinancas/ui-company-kit';
@Component({
standalone: true,
selector: 'bfm-cost-center-result',
imports: [BfmCostCenterResultComponent],
templateUrl: './result.component.html',
})
export class CostCenterResultComponent {}
Then, in your template, you can use the component like this:
result.component.html
<bfm-cost-center-result
[results]="uploadResults"
(resetForm)="handleResetForm($event)"
/>
Inputs
The BfmCostCenterResultComponent component has the following inputs:
results
Cost center upload results.
| Type | Default |
|---|---|
object | {} |
Events
The BfmCostCenterResultComponent component has the following events:
resetForm
Event emitted when the form is reset.
| Type | Default |
|---|---|
EventEmitter | new EventEmitter() |