Sha256: a2b10a0136b35af6984d701bb03f064418e68cd121c0e6772669d7023651a892

Contents?: true

Size: 1.46 KB

Versions: 8

Compression:

Stored size: 1.46 KB

Contents

<div ng-controller="ButtonsCtrl">
    <h4>Single toggle</h4>
    <pre>{{singleModel}}</pre>
    <button type="button" class="btn btn-primary" ng-model="singleModel" uib-btn-checkbox btn-checkbox-true="1" btn-checkbox-false="0">
        Single Toggle
    </button>
    <h4>Checkbox</h4>
    <pre>Model: {{checkModel}}</pre>
    <pre>Results: {{checkResults}}</pre>
    <div class="btn-group">
        <label class="btn btn-primary" ng-model="checkModel.left" uib-btn-checkbox>Left</label>
        <label class="btn btn-primary" ng-model="checkModel.middle" uib-btn-checkbox>Middle</label>
        <label class="btn btn-primary" ng-model="checkModel.right" uib-btn-checkbox>Right</label>
    </div>
    <h4>Radio &amp; Uncheckable Radio</h4>
    <pre>{{radioModel || 'null'}}</pre>
    <div class="btn-group">
        <label class="btn btn-primary" ng-model="radioModel" uib-btn-radio="'Left'">Left</label>
        <label class="btn btn-primary" ng-model="radioModel" uib-btn-radio="'Middle'">Middle</label>
        <label class="btn btn-primary" ng-model="radioModel" uib-btn-radio="'Right'">Right</label>
    </div>
    <div class="btn-group">
        <label class="btn btn-success" ng-model="radioModel" uib-btn-radio="'Left'" uncheckable>Left</label>
        <label class="btn btn-success" ng-model="radioModel" uib-btn-radio="'Middle'" uncheckable>Middle</label>
        <label class="btn btn-success" ng-model="radioModel" uib-btn-radio="'Right'" uncheckable>Right</label>
    </div>
</div>

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/demo.html
active_record_survey_api-0.0.18 spec/test_app/vendor/assets/bower_components/angular-ui-bootstrap/src/buttons/docs/demo.html
active_record_survey_api-0.0.17 spec/test_app/vendor/assets/bower_components/angular-ui-bootstrap/src/buttons/docs/demo.html
active_record_survey_api-0.0.14 spec/test_app/vendor/assets/bower_components/angular-ui-bootstrap/src/buttons/docs/demo.html
active_record_survey_api-0.0.12 spec/test_app/vendor/assets/bower_components/angular-ui-bootstrap/src/buttons/docs/demo.html
active_record_survey_api-0.0.11 spec/test_app/vendor/assets/bower_components/angular-ui-bootstrap/src/buttons/docs/demo.html
active_record_survey_api-0.0.7 spec/test_app/vendor/assets/bower_components/angular-ui-bootstrap/src/buttons/docs/demo.html
active_record_survey_api-0.0.6 spec/test_app/vendor/assets/bower_components/angular-ui-bootstrap/src/buttons/docs/demo.html