Skip to main content

Comments Autocomplete

This section describes the BfmCommentsAutocompleteComponent component.

Composition​

The BfmCommentsAutocompleteComponent has no any composition component.

Usage​

You need to import it in your module and use it in your template.

comments-autocomplete.component.ts
import { BfmCommentsAutocompleteComponent } from '@celerofinancas/ui-cash-flow';

@Component({
standalone: true,
selector: 'comments-autocomplete',
imports: [BfmCommentsAutocompleteComponent],
templateUrl: './comments-autocomplete.component.html',
})
export class CommentsAutocompleteComponent {}

Then, in your template, you can use the component like this:

comments-autocomplete.component.html
<bfm-comments-autocomplete
[disabled]="false"
[value]="'Initial comment'"
(emitValue)="handleEmitValue($event)"
/>

Inputs​

The BfmCommentsAutocompleteComponent component has the following inputs:

disabled​

Disabled input state controller

TypeDefault
booleanfalse

value​

Textarea value controller

TypeDefault
string''

Events​

The BfmCommentsAutocompleteComponent component has the following Events:

emitValue​

Comment input value emitter

Type
EventEmitter