@coderbase/forms
v0.0.4
Published
Angular Library with Zero Dependencies
Downloads
13
Readme
@coderbase/forms
Angular Library with Zero Dependencies
Provide Simple Responsive Form Control Component for your Reactive Forms Component.
Installation :package:
NPM
npm install --save @coderbase/forms
YARN
yarn add @coderbase/forms --save
Usage
Import CoderbaseFormsModule
- Add CoderbaseFormsModule in your ***.module.ts:
import {CoderbaseFormsModule} from '@coderbase/forms';
@NgModule({
...
import: [..., CoderbaseFormsModule]
})
- Use it in your HTML elements, for example in your ***.component.html:
<form [formGroup]='MyForm'>
<coderbase-password-control [control]="MyForm.get('password')"></coderbase-password-control>
</form>
Browser Support Tested:
- Chrome
- Firefox
- Safari
Responsive Support Tested:
- Iphone 5+
- Ipad
Made with :heart: by Pierre et Christophe