Split Company Related
This section describes the BfmSplitCompanyRelatedComponent component.
Composition
The BfmSplitCompanyRelatedComponent is composed of the following components:
- BfmCompanyRelatedCreationComponent - Component for company related creation.
- BfmCompanyRelatedInfoComponent - Component for company related information.
Usage
You need to import it in your module and use it in your template.
split-company-related.component.ts
import { BfmSplitCompanyRelatedComponent } from '@celerofinancas/ui-charges';
@Component({
standalone: true,
selector: 'split-company-related',
imports: [BfmSplitCompanyRelatedComponent],
templateUrl: './split-company-related.component.html',
})
export class SplitCompanyRelatedComponent {}
Then, in your template, you can use the component like this:
split-company-related.component.html
<bfm-split-company-related
[index]="0"
[splitIndex]="0"
(creation)="handleCreation($event)"
(deleteCompanyRelated)="handleDelete($event)"
/>
Inputs
The BfmSplitCompanyRelatedComponent component has the following inputs:
index
Index of the company related.
| Type | Default |
|---|---|
| number | 0 |
splitIndex
Index of the split.
| Type | Default |
|---|---|
| number | 0 |
Events
The BfmSplitCompanyRelatedComponent component has the following Events:
creation
Event for company related creation.
| Type |
|---|
| EventEmitter |
deleteCompanyRelated
Event for company related deletion.
| Type |
|---|
| EventEmitter |