0.0.35 • Published 1 year ago

ngx-mat-number-picker v0.0.35

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

ngx-mat-number-picker

This library was generated with Angular CLI version 10.1.5.

Angular numberpicker component based on Angular Material with min-max validation, calculator support and number in words in million and lakh format.

Installation

To install this library (component), run:

Using npm:

$ npm install ngx-mat-number-picker

Consuming this library (Component)

You can import this library (component) in any Angular application by running:

$ npm install ngx-mat-number-picker

and then from your Angular AppModule

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
 
import { AppComponent } from './app.component';
 
// Import this library
import { NgxMatNumberPickerModule } from 'ngx-mat-number-picker';
 
@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    
    // Specify this library as an import
    NgxMatNumberPickerModule,
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Once this library is imported, you can use its components, directives and pipes in your Angular application:

<ngx-calculator 
    [formControl]="control" 
    placeholder="Salary" 
    hint="Please enter your salary" 
    [showInWords]="true" 
    [language]="1" 
    [disabled]="false" >
</ngx-calculator>

##Component Inputs and Outputs

AttributeTypeRequiredDescriptionDefault
readonlybooleannomake coomponent readonly if value = true else notfalse
languagenumber {0 or 1}noFormating of the number 0 is in million format and 1 in lakh format0
afterDecimalnumbernodigits after decimal2
showInWordsbooleannoshow number in words in tooltiptrue
openCalculatorOnFocusbooleannoopen calculator on focus of this control if truefalse
placeholderstringnoplaceholder of control""
hintstringnohint of the input""
disabledbooleannoenable or disable the controlfalse
formControlFormControlyesformControlName for reactive form and formControl object for template drivennull
0.0.30

1 year ago

0.0.31

1 year ago

0.0.32

1 year ago

0.0.33

1 year ago

0.0.34

1 year ago

0.0.35

1 year ago

0.0.29

1 year ago

0.0.26

2 years ago

0.0.27

2 years ago

0.0.28

2 years ago

0.0.23

2 years ago

0.0.24

2 years ago

0.0.25

2 years ago

0.0.20

2 years ago

0.0.21

2 years ago

0.0.22

2 years ago

0.0.18

2 years ago

0.0.19

2 years ago

0.0.17

3 years ago

0.0.10

3 years ago

0.0.11

3 years ago

0.0.12

3 years ago

0.0.13

3 years ago

0.0.14

3 years ago

0.0.15

3 years ago

0.0.9

3 years ago

0.0.16

3 years ago

0.0.8

3 years ago

0.0.5

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.3

3 years ago

0.0.4

3 years ago

0.0.2

3 years ago

0.0.1

4 years ago