Information
This section describes the BfmCompanyRelatedInformationComponent component.
Usage
You can import the BfmCompanyRelatedInformationComponent directly in your route configuration.
import { BfmCompanyRelatedInformationComponent } from '@celerofinancas/ui-company-kit';
const routes = [
{
path: 'company-related-information',
component: BfmCompanyRelatedInformationComponent,
},
];
But if you need more customization, you need to import it in your module and use it in your template.
import { BfmCompanyRelatedInformationComponent } from '@celerofinancas/ui-company-kit';
@Component({
standalone: true,
selector: 'company-related-information',
imports: [BfmCompanyRelatedInformationComponent],
templateUrl: './company-related-information.component.html',
})
export class CompanyRelatedInformationComponent {}
Then, in your template, you can use the component like this:
<bfm-company-related-information
[companyRelatedInformation]="companyRelatedInformation"
[listType]="'invalid'"
(invalidChanges)="handleInvalidChanges($event)"
(validatedListChanges)="handleValidatedListChanges($event)"
/>
Inputs
The BfmCompanyRelatedInformationComponent component has the following inputs:
companyRelatedInformation
Company related information.
| Type | Default |
|---|---|
Array | [] |
listType
List type.
| Type | Default |
|---|---|
invalid | success | edition | null |
Events
The BfmCompanyRelatedInformationComponent component has the following events:
invalidChanges
Emits the invalid changes.
validatedListChanges
Emits the validated list changes.