List
This section describes the BfmCompanyRelatedListComponent component.
Usage
You can import the BfmCompanyRelatedListComponent directly in your route configuration.
import { BfmCompanyRelatedListComponent } from '@celerofinancas/ui-company-kit';
const routes = [
{
path: 'company-related-list',
component: BfmCompanyRelatedListComponent,
},
];
But if you need more customization, you need to import it in your module and use it in your template.
company-related-list.component.ts
import { BfmCompanyRelatedListComponent } from '@celerofinancas/ui-company-kit';
@Component({
standalone: true,
selector: 'company-related-list',
imports: [BfmCompanyRelatedListComponent],
templateUrl: './company-related-list.component.html',
})
export class CompanyRelatedListComponent {}
Then, in your template, you can use the component like this:
company-related-list.component.html
<bfm-company-related-list
[enableSearch]="true"
[headerTitle]="'Company Related List'"
[pageTitle]="'All Companies'"
/>
Inputs
The BfmCompanyRelatedListComponent component has the following inputs:
enableSearch
Enable search input.
| Type | Default |
|---|---|
boolean | false |
headerTitle
Header title.
| Type | Default |
|---|---|
string | 'Lista de terceiros' |
pageTitle
Page title.
| Type | Default |
|---|---|
string | 'Todos os terceiros' |
Events
The BfmCompanyRelatedListComponent component has no events.