Company Item
This section describes the BfmCompanyItemComponent component.
Usage
You need to import it in your module and use it in your template.
company-item.component.ts
import { BfmCompanyItemComponent } from '@celerofinancas/ui-user-kit';
@Component({
standalone: true,
selector: 'company-item',
imports: [BfmCompanyItemComponent],
templateUrl: './company-item.component.html',
})
export class CompanyItemComponent {}
Then, in your template, you can use the component like this:
company-item.component.html
<bfm-company-item
[company]="company"
[fullWidth]="fullWidth"
[selected]="selected"
(companySelected)="handleCompanySelected($event)"
/>
Inputs
The BfmCompanyItemComponent component has the following inputs:
company
Company Object
| Type | Default |
|---|---|
| Company | {} |
fullWidth
Full width
| Type | Default |
|---|---|
boolean | false |
selected
Company selected
| Type | Default |
|---|---|
boolean | false |
Events
The BfmCompanyItemComponent component has the following events:
companySelected
Emits value when company has been selected
| Type |
|---|
EventEmitter<Company> |