Sha256: b185369b0f612b74babdd3e14a52dfb8dd252af0ef80e4eee1477eee74972115

Contents?: true

Size: 1003 Bytes

Versions: 8

Compression:

Stored size: 1003 Bytes

Contents

With the buttons directive, we can make a group of buttons behave like a set of checkboxes (`uib-btn-checkbox`) or behave like a set of radio buttons (`uib-btn-radio`).

### uib-btn-checkbox settings

* `ng-model` -
  Model where we set the checkbox status. By default `true` or `false`.
  
* `btn-checkbox-true`
  _(Default: `true`)_ -
  Sets the value for the checked status.

* `btn-checkbox-false`
  _(Default: `false`)_ -
  Sets the value for the unchecked status.

### uib-btn-radio settings

* `uib-btn-radio` -
  Value to assign to the `ng-model` if we check this radio button.

* `ng-model` -
  Model where we set the radio status. All radio buttons in a group should use the same `ng-model`.
  
* `uncheckable`
  _(Boolean attribute)_ -
  Whether a radio button can be unchecked or not.
  
### Default settings `uibButtonConfig`

* `activeClass`
  _(Default: `active`)_ -
  Class to apply to the checked buttons.
  
* `toggleEvent`
  _(Default: `click`)_ -
  Event used to toggle the buttons.

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
active_record_survey_api-0.0.19 spec/test_app/vendor/assets/bower_components/angular-ui-bootstrap/src/buttons/docs/readme.md
active_record_survey_api-0.0.18 spec/test_app/vendor/assets/bower_components/angular-ui-bootstrap/src/buttons/docs/readme.md
active_record_survey_api-0.0.17 spec/test_app/vendor/assets/bower_components/angular-ui-bootstrap/src/buttons/docs/readme.md
active_record_survey_api-0.0.14 spec/test_app/vendor/assets/bower_components/angular-ui-bootstrap/src/buttons/docs/readme.md
active_record_survey_api-0.0.12 spec/test_app/vendor/assets/bower_components/angular-ui-bootstrap/src/buttons/docs/readme.md
active_record_survey_api-0.0.11 spec/test_app/vendor/assets/bower_components/angular-ui-bootstrap/src/buttons/docs/readme.md
active_record_survey_api-0.0.7 spec/test_app/vendor/assets/bower_components/angular-ui-bootstrap/src/buttons/docs/readme.md
active_record_survey_api-0.0.6 spec/test_app/vendor/assets/bower_components/angular-ui-bootstrap/src/buttons/docs/readme.md