1.0.1 • Published 2 years ago

ngx-stringnumbers-directive v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

NgxStringnumbersDirective

This library was generated with Angular CLI version 12.0.5.

How To Install

npm i ngx-stringnumbers-directive

How To Use

Import NgxStringnumbersDirectiveModule module in your app module

 
import { NgxStringnumbersDirectiveModule } from 'ngx-stringnumbers-directive';
@NgModule({
  declarations: [
  ],
  imports: [
    NgxStringnumbersDirectiveModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})

In your HTML code

 <input type="text" StringNumber 
    [Allowspace] ='true' // it will allow space between the words.
    [Capital] ='false'  // it will allow to enter the input in Capital.
    [Allownumber]="false"  // iit will allow to write the number along with string. 
 >