Skip to main content

Balance Modal

This section describes the BfmBalanceModalComponent component.

Composition

The BfmBalanceModalComponent has no any composition component.

Usage

You must to import the BfmBalanceModalComponent 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.

For advanced customization and creating custom modal wrappers, see the Custom Modal Wrapper documentation.

modal.component.ts
import { BfmBalanceModalComponent } from '@celerofinancas/ui-cash-flow';
import { ModalService } from "@celerofinancas/ui-modals";
import { Component, inject } from '@angular/core';

@Component({
standalone: true,
selector: 'modal',
templateUrl: './modal.component.html',
})
export class ModalComponent {
/**
* Modal service for handling modals
*/
private modalService = inject(ModalService);

/**
* Open the modal
*/
public openModal(): void {
this.modalService.open(BfmBalanceModalComponent, {});
};
}

Inputs

The BfmBalanceModalComponent modalRef has no inputs.

Events

The BfmBalanceModalComponent modalRef has no events.