Skip to main content

Split

This section describes the BfmChargeSplitComponent component.

Composition

The BfmChargeSplitComponent is composed of the following components:

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

TypeDefault
booleanfalse

recurrenceType

Recurrence type

TypeDefault
RECURRENCE_TYPE from @celerofinancas/core-tsRECURRENCE_TYPE.no_repeat

splitIndex

Split index

TypeDefault
number0

title

Custom Inner HTML Title Component

TypeDefault
string'Esses são os valores que <b>sua empresa vai receber</b>'

Events

The BfmChargeSplitComponent component has no events.