yes-no-button-group
v1.1.0
Published
Radio buttom com acessibilidade, desenvolvido com angular usando a interface library
Downloads
5
Maintainers
Readme
YesNoButtonGroup
This library was generated with Angular CLI version 10.2.4.
Code scaffolding
Run ng generate component component-name --project yes-no-button-group
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project yes-no-button-group
.
Note: Don't forget to add
--project yes-no-button-group
or else it will be added to the default project in yourangular.json
file.
Installing
$ npm install yes-no-button-group
Example
No app.module.ts
import { YesNoButtonGroupModule } from 'yes-no-button-group';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
AppRoutingModule,
BrowserAnimationsModule,
YesNoButtonGroupModule,
ReactiveFormsModule,
FormsModule,
],
providers: [],
bootstrap: [AppComponent]
})
<yes-no-button-group
[disabled]="false"
formControlName="yesNoAnswer"
label="Are you good enough in Angular?"
>
</yes-no-button-group>