Skip to main content

Charge - Upload

This section describes the BfmChargeUploadComponent component.

Usage

You need to import it in your module and use it in your template.

charge-upload.component.ts
import { BfmChargeUploadComponent } from '@celerofinancas/ui-charges';

@Component({
standalone: true,
selector: 'charge-upload',
imports: [BfmChargeUploadComponent],
templateUrl: './charge-upload.component.html',
})
export class ChargeUploadComponent {}

Then, in your template, you can use the component like this:

charge-upload.component.html
<bfm-charge-upload
[bottomConfiguration]="bottomConfiguration"
[loading]="false"
(sendDocument)="handleSendDocument($event)"
/>

Inputs

The BfmChargeUploadComponent component has the following inputs:

bottomConfiguration

Bottom Input configuration

Type
UploadBottom

loading

Loading

TypeDefault
booleanfalse

Events

The BfmChargeUploadComponent component has the following Events:

sendDocument

Outputs file

Type
EventEmitter