History Details Modal
This section describes the BfmHistoryDetailsModalComponent component.
Composition
The BfmHistoryDetailsModalComponent has no any composition components.
Usage
You must import the BfmHistoryDetailsModalComponent 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 better understand, check the Modals documentation.
history-details-modal.component.ts
import { BfmHistoryDetailsModalComponent } from '@celerofinancas/ui-cash-flow';
import { ModalService } from "@celerofinancas/ui-modals";
import { Component, inject } from '@angular/core';
@Component({
standalone: true,
selector: 'history-details',
templateUrl: './history-details.component.html',
})
export class HistoryDetailsComponent {
/**
* Modal service for handling modals
*/
private modalService = inject(ModalService);
/**
* Open the modal
*/
public openModal(): void {
this.modalService.open(BfmHistoryDetailsModalComponent, {});
};
}
Inputs
The BfmHistoryDetailsModalComponent modalRef has no inputs.
Events
The BfmHistoryDetailsModalComponent modalRef has no events.