Sha256: b957d46114f534b4816353b05a2f4ffde69aae89f6a0e32326f73be29e1ce5a9

Contents?: true

Size: 272 Bytes

Versions: 58

Compression:

Stored size: 272 Bytes

Contents

<a href="#" class="btn btn-default" id="cp4">Change background color</a>
<script>
    $(function () {
        $('#cp4').colorpicker().on('changeColor', function (e) {
            $('body')[0].style.backgroundColor = e.color.toString('rgba');
        });
    });
</script>

Version data entries

58 entries across 58 versions & 3 rubygems

Version Path
card-mod-bootstrap-0.18.1 vendor/bootstrap-colorpicker/docs/includes/examples/04_events.hbs
card-mod-bootstrap-0.18.0 vendor/bootstrap-colorpicker/docs/includes/examples/04_events.hbs
card-mod-bootstrap-0.17.0 vendor/bootstrap-colorpicker/docs/includes/examples/04_events.hbs
card-mod-bootstrap-0.16.0 vendor/bootstrap-colorpicker/docs/includes/examples/04_events.hbs
card-mod-bootstrap-0.15.6 vendor/bootstrap-colorpicker/docs/includes/examples/04_events.hbs
card-mod-bootstrap-0.15.5 vendor/bootstrap-colorpicker/docs/includes/examples/04_events.hbs
card-mod-bootstrap-0.15.4 vendor/bootstrap-colorpicker/docs/includes/examples/04_events.hbs
card-mod-bootstrap-0.15.3 vendor/bootstrap-colorpicker/docs/includes/examples/04_events.hbs
card-mod-bootstrap-0.15.1.2 vendor/bootstrap-colorpicker/docs/includes/examples/04_events.hbs
card-mod-bootstrap-0.15.2.pre1 vendor/bootstrap-colorpicker/docs/includes/examples/04_events.hbs
card-mod-bootstrap-0.15.1.1 vendor/bootstrap-colorpicker/docs/includes/examples/04_events.hbs
card-mod-bootstrap-0.15.1 vendor/bootstrap-colorpicker/docs/includes/examples/04_events.hbs
card-mod-bootstrap-0.15.0 vendor/bootstrap-colorpicker/docs/includes/examples/04_events.hbs
card-mod-bootstrap-0.14.2 vendor/bootstrap-colorpicker/docs/includes/examples/04_events.hbs
card-mod-bootstrap-0.14.1 vendor/bootstrap-colorpicker/docs/includes/examples/04_events.hbs
card-mod-bootstrap-0.14.0 vendor/bootstrap-colorpicker/docs/includes/examples/04_events.hbs
card-mod-bootstrap-0.13.4 vendor/bootstrap-colorpicker/docs/includes/examples/04_events.hbs
card-mod-bootstrap-0.13.3 vendor/bootstrap-colorpicker/docs/includes/examples/04_events.hbs
card-mod-bootstrap-0.13.2 vendor/bootstrap-colorpicker/docs/includes/examples/04_events.hbs
card-mod-bootstrap-0.13.1 vendor/bootstrap-colorpicker/docs/includes/examples/04_events.hbs