This project was generated with Angular CLI version 8.1.3.
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AngularCounterModule } from 'angular-input-counter';
@NgModule({
declarations: [
AppComponent
],
imports: [
AngularCounterModule,
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
<angular-input-counter
[min]="5"
[max]="20"
[step]="1"
[readonly]="true"
[(counterValue)]="counterValue"
[color]="'primary'"></angular-input-counter>
Field | Default Value | Mandatory |
---|---|---|
min | 1 | N |
max | 10 | N |
step | 1 | N |
counterValue | - | Two way binding |
color | primary | N |
readonly | F | N |