1.1.12 • Published 3 years ago

ngx-keypad v1.1.12

Weekly downloads
5
License
MIT
Repository
github
Last release
3 years ago

NGX-KEYPAD

This project was generated with Angular CLI version 9.1.0.

:star: Give a Star!

If you like or are using this project please give it a star here. Thanks!

Screenshot

ngx-keypad

✨ Features

  • Insert numbers only.
  • Numbers with mask so it is can use as password.
  • Period can use.
  • Hide display if you want.
  • Maximum length for input string.
  • Maximum number can set.

☀️ License

🖥 Environment Support

  • Angular ^9.0.0 npm package

📦 Installation

NPM

npm install ngx-keypad --save

🔨 Usage

Import the component modules you want to use into your app.module.ts file and feature modules.

import {NgxKeypadModule} from 'ngx-keypad';

@NgModule({
  imports: [ NgxKeypadModule ]
})
export class AppModule {
}

In your template write this code.

<keypad [showPeriod]="true" [isPassword]="false" [(data)]="result"></keypad>

Properties

PropertyDescriptionTypeDefault
showDisplayShow Display or notbooleantrue
showPeriodShow period button or notbooleantrue
isPasswordWrite asterisk in the fieldbooleanfalse
maxLengthNot allow more length than this max, null is unlimitednumbernull
maxNumberNot allow more number than this max, null is unlimitednumbernull
backgroundComponent backgroundstring'#ccc'
widthComponent width can be for ex 400pxstring'100%'
paddingComponent padding can be for ex 20pxstring'10px'
(data)Data input and outputstring''

🔗 Links

⌨️ Development

$ git clone git@github.com:ShadyNagy/ngx-keypad.git
$ cd ngx-keypad
$ npm install
$ npm run start

🤝 Contributing

PRs Welcome

We welcome all contributions. Please read our CONTRIBUTING.md first. You can submit any ideas as pull requests or as GitHub issues.

🎉 Users

We list some users here, if your company or product uses ngx-keypad, let us know here!

1.1.12

3 years ago

1.1.11

3 years ago

1.1.10

4 years ago

1.1.9

4 years ago

1.1.8

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

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