1.0.6 • Published 4 years ago

ngx-numaric-keypad v1.0.6

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

ngx-number-keypad

This is a two in one features keypad, you can use this as calculator also by just enabling that feature.

Angular9+

Get started

npm i ngx-number-keypad --save

Techniques

import in your app.module.ts file

...
import { KeypadModule } from 'ngx-numaric-keypad';
...

@NgModule({
  declarations: [
    ...
  ],
  imports: [
    ...
    KeypadModule,
    ...
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

then put below component in your view, and if you want to use calculator then make that calc = true otherwise you can remove that param or make it calc = false.

  <ngx-numaric-keypad 
    [calc]="true"
    (getVal)="yourFunctionName($event)"
  >
  </ngx-numaric-keypad>

Now create function in your component.ts file

  yourFunctionName(numberOutput: number) {
    console.log(numberOutput) // you will have your keypad output here
  }

Keypad Image

License

MIT © Sumit Patel

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago