import { Component } from '@angular/core'; import { DEMOS } from './demos'; // webpack html imports let titleDoc = require('html-loader!markdown-loader!./docs/title.md'); @Component({ selector: 'buttons-section', template: `

There are two directives that can make a group of buttons behave like a set of checkboxes, radio buttons, or a hybrid where radio buttons can be unchecked.

Contents

Usage

Examples

Single button

Default static button with two states

Checkbox

Checkbox-like buttons set with variable states

Radio & Uncheckable Radio

Radio buttons with checked/unchecked states

Radio with ReactiveForms

Checkbox buttons with ReactiveForms

Disabled Buttons

API Reference

` }) export class ButtonsSectionComponent { public name:string = 'Buttons'; public src:string = 'https://github.com/valor-software/ngx-bootstrap/tree/development/src/buttons'; public titleDoc:string = titleDoc; public demos: any = DEMOS; }