Reissue Modal
This section describes the ReissueModalComponent component.
Composition
The ReissueModalComponent is composed of the following components:
- BfmDocumentInformationCardComponent - Component for displaying document information.
Usage
You must to import the ReissueModalComponent and provide it to ModalService to open the modal.
info
Modals are not components. They must be used with the ModalService to be opened.
To a better understanding, check the Modals documentation.
reissue-modal.component.ts
import { ReissueModalComponent } from '@celerofinancas/ui-charges';
import { ModalService } from "@celerofinancas/ui-modals";
import { Component, inject } from '@angular/core';
@Component({
standalone: true,
selector: 'reissue',
templateUrl: './reissue.component.html',
})
export class ReissueComponent {
/**
* Modal service for handling modals
*/
private modalService = inject(ModalService);
/**
* Open the modal
*/
public openModal(): void {
this.modalService.open(ReissueModalComponent, {
charge: charge,
});
};
}
Inputs
The ReissueModalComponent modalRef has the following inputs:
charge
Charge to be reissued.
| Type | Default |
|---|---|
Charge | undefined |
Events
The ReissueModalComponent modalRef has no events.