ngx-stringnumbers-directive
v1.0.1
Published
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.0.5. ## How To Install ``` npm i ngx-stringnumbers-directive ``` ## How To Use
Downloads
5
Maintainers
Readme
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.
>