Success
This section describes the BfmCreateSuccessComponent component.
Composition
The BfmCreateSuccessComponent has no any composition components.
Usage
You need to import it in your module and use it in your template.
create-success.component.ts
import { BfmCreateSuccessComponent } from '@celerofinancas/ui-cash-flow';
@Component({
standalone: true,
selector: 'create-success',
imports: [BfmCreateSuccessComponent],
templateUrl: './create-success.component.html',
})
export class CreateSuccessComponent {}
Then, in your template, you can use the component like this:
create-success.component.html
<bfm-create-success
[createNewRecordText]="'Criar outro registro'"
(createNewRecord)="handleCreateNewRecord($event)"
/>
Inputs
The BfmCreateSuccessComponent component has the following inputs:
createNewRecordText
Create new record text to be displayed
| Type | Default |
|---|---|
string | 'Criar outro registro' |
Events
The BfmCreateSuccessComponent component has the following Events:
createNewRecord
Create new record event emitter - Emits when the user clicks on the create new record button
| Type |
|---|
EventEmitter |