powerfield
v1.0.3
Published
Powerfield is a npm package regrouping useful form fields directive for Angular projects. All directives are compatible with Angular Material. The Powerfield aim is to deliver modularity and performance in your Angular projects. Powerfield helps you with
Downloads
7
Maintainers
Readme
Powerfield
Powerfield is a npm package regrouping useful form fields directive for Angular projects. All directives are compatible with Angular Material. The Powerfield aim is to deliver modularity and performance in your Angular projects. Powerfield helps you with common needed Angular input directives.
Installation
To install the Powerfield package in your project using npm, open a terminal/console window and enter the following command:
npm install powerfield
To import the installed package to your module, open your module file and edit it as follow:
import { PowerfieldModule } from 'powerfield';
@NgModule({
...
imports: [
...
PowerfieldModule,
],
...
})
...
Documentation
You can find the full Powerfield documentation here. This documentation contains a description of every Powerfield directives and related examples.
Examples
You can use every provided directives directly in your component templates. Here is an example of the use of the powAutoWidth directive:
<input type="text" powAutoWidth [powExtraWidth]="20" />
License
Powerfield is MIT licensed.