1.0.0 • Published 1 year ago

dgtit-number-counter v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

Dgtit Number Counter

This library was generated with Angular CLI version 15.1.0.

This is an Angular component of a number count.

Alt text

Usage Example

Import the DgtitNumberCount into your app module

import {DgtitNumberCounter} from 'dgtit-number-counter';

In the angular template, add the dgtit-number-counter tag wherever you nee it.

<dgtit-number-counter 
  [inputValue]="0"
  [incrementValue]="1"
  [showNegativeNumbers]="false"
  (onCountChange)="handleEvent($event)">
</dgtit-number-counter>
  • inputValue: The initial value displayed by the counter (default: 0)
  • incrementValue: The interval that the counter increments / decrements (default: 1)
  • showNegativeNumbers: If the interval show negative (default: false)
  • onCountChange: Event of count change
1.0.0

1 year ago

0.0.0

1 year ago

0.0.1

1 year ago