Cost Center Management Modal
This section describes the BfmCostCenterManagementModalComponent component.
Usage
You must to import the BfmCostCenterManagementModalComponent 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.
cost-center-management-modal.component.ts
import { BfmCostCenterManagementModalComponent } from '@celerofinancas/ui-company-kit';
import { ModalService } from "@celerofinancas/ui-modals";
import { Component, inject } from '@angular/core';
@Component({
standalone: true,
selector: 'cost-center-management-modal',
templateUrl: './cost-center-management-modal.component.html',
})
export class CostCenterManagementModalComponent {
/**
* Modal service for handling modals
*/
private modalService = inject(ModalService);
/**
* Open the modal
*/
public openModal(): void {
this.modalService.open(BfmCostCenterManagementModalComponent, {});
};
}
Inputs
The BfmCostCenterManagementModalComponent modalRef has no inputs.
Events
The BfmCostCenterManagementModalComponent modalRef has no events.