Skip to main content

Accounting Files Modal

This section describes the BfmAccountingFilesModalComponent component.

Composition

The BfmAccountingFilesModalComponent has no any composition component.

Usage

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

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

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

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

Inputs

The BfmAccountingFilesModalComponent modalRef has no inputs.

Events

The BfmAccountingFilesModalComponent modalRef has no events.