1.0.4 • Published 5 years ago
welynq-form v1.0.4
WELYNQ FORM MODULE
This is a module for WELYNQ forms. All the forms can have consistent behaviour.
Check out WELYNQ app
Installation
Run
npm i welynq-formImport
WelynqformModulein your app's main moduleapp.module.ts, e.g.:
// other imports
// ...
import { WelynqformModule } from 'welynq-form';
// ...
@NgModule({
imports: [
// other imports
// ...
WelynqformModule,
// ...
]
});Usage
<app-welynqbutton iconName="more_vert" iconPosition="before" label="Test"></app-welynqbutton>-iconName : String optional - Pass agular material icon name
-iconPosition: String optional - default is "after" render icon before/after the text
-label: String optional - Label for button
<app-welynqtogglebutton (valueChanged)="valueChanged($event)" uncheckedLabel="YES"
checkedLabel="NO"
defaultBgColor="red"
checked="false"></app-welynqtogglebutton>