Split
This section describes the BfmChargeSplitComponent component.
Composition
The BfmChargeSplitComponent is composed of the following components:
- BfmSplitCompanyRelatedComponent - Company related split component.
Usage
You need to import it in your module and use it in your template.
split.component.ts
import { BfmChargeSplitComponent } from '@celerofinancas/ui-charges';
@Component({
standalone: true,
selector: 'split',
imports: [BfmChargeSplitComponent],
templateUrl: './split.component.html',
})
export class SplitComponent {}
Then, in your template, you can use the component like this:
split.component.html
<bfm-charge-split
[isRecurrence]="false"
[recurrenceType]="RECURRENCE_TYPE.no_repeat"
[splitIndex]="0"
[title]="'Esses são os valores que <b>sua empresa vai receber</b>'"
/>
Inputs
The BfmChargeSplitComponent component has the following inputs:
isRecurrence
Controls whether is in recurrence mode
| Type | Default |
|---|---|
| boolean | false |
recurrenceType
Recurrence type
| Type | Default |
|---|---|
RECURRENCE_TYPE from @celerofinancas/core-ts | RECURRENCE_TYPE.no_repeat |
splitIndex
Split index
| Type | Default |
|---|---|
| number | 0 |
title
Custom Inner HTML Title Component
| Type | Default |
|---|---|
| string | 'Esses são os valores que <b>sua empresa vai receber</b>' |
Events
The BfmChargeSplitComponent component has no events.