Company Related Creation
This section describes the BfmCompanyRelatedCreationComponent component.
Usage
You need to import it in your module and use it in your template.
charge-company-related-create.component.ts
import { BfmCompanyRelatedCreationComponent } from '@celerofinancas/ui-charges';
@Component({
standalone: true,
selector: 'charge-company-related-create',
imports: [BfmCompanyRelatedCreationComponent],
templateUrl: './charge-company-related-create.component.html',
})
export class CompanyRelatedCreationComponent {}
Then, in your template, you can use the component like this:
charge-company-related-create.component.html
<bfm-company-related-creation
[companyRelated]="companyRelated"
(cancel)="handleCancel()"
(companyRelatedCreated)="handleCompanyRelatedCreated($event)"
/>
Inputs
The BfmCompanyRelatedCreationComponent component has the following inputs:
companyRelated
Company related value
| Type |
|---|
| CompanyRelatedCreation |
Events
The BfmCompanyRelatedCreationComponent component has the following Events:
cancel
Emits the cancel button click
| Type |
|---|
| EventEmitter |
companyRelatedCreated
Emits the created company related
| Type |
|---|
| EventEmitter |