Skip to main content

Quantity Input

This section describes the BfmServiceQuantityInputComponent component.

Usage

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

service-quantity-input.component.ts

import { BfmServiceQuantityInputComponent } from '@celerofinancas/ui-charges';

@Component({
standalone: true,
selector: 'service-quantity-input',
imports: [BfmServiceQuantityInputComponent],
templateUrl: './service-quantity-input.component.html',
})
export class ServiceQuantityInputComponent {}

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

service-quantity-input.component.html

<bfm-service-quantity-input
[service]="serviceData"
(changes)="handleChanges($event)"
/>

Inputs

The BfmServiceQuantityInputComponent component has the following inputs:

service

Service data.

TypeDefault
OfferedServicenull

Events

The BfmServiceQuantityInputComponent component has the following Events:

changes

Event triggered when the service quantity changes.

Type
EventEmitter<number>