input-trim-space
v0.0.3
Published
A simple directive to trim white spaces from all input fields and text area
Downloads
6
Maintainers
Readme
Angular Input Trim Space Directive
This directive trims whitespaces from all input fields [ type = text, textarea ].
Usage
1.Install input-trim-space
.
npm i -S input-trim-space
2.Import InputTrimSpaceModule
to your Angular module.
Angular 5+
import { InputTrimSpaceModule } from 'input-trim-space';
@NgModule({
imports: [
...
InputTrimSpaceModule,
...
],
...