yes-no-button-group
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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 your angular.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>

Package Sidebar

Install

npm i yes-no-button-group

Weekly Downloads

3

Version

1.1.0

License

MIT

Unpacked Size

97.1 kB

Total Files

27

Last publish

Collaborators

  • michelrocha