Sha256: 26ac7ac393de5e3f0b18c6987679c3d5f0ad70e9b390dc5c54275203432c58a0

Contents?: true

Size: 696 Bytes

Versions: 58

Compression:

Stored size: 696 Bytes

Contents

<div id="cp10" class="input-group colorpicker-component">
    <input disabled type="text" value="" class="form-control"/>
    <span class="input-group-addon"><i></i></span>
</div>
<br>
<p>
  <a class="btn btn-sm btn-default enable-button" href="#">Enable</a>
  <a class="btn btn-sm btn-default disable-button" href="#">Disable</a>
</p>
<script>
    $(function () {
        $(".disable-button").click(function(e) {
            e.preventDefault();
            $("#cp10").colorpicker('disable');
        });

        $(".enable-button").click(function(e) {
            e.preventDefault();
            $("#cp10").colorpicker('enable');
        });
        $('#cp10').colorpicker();
    });
</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/10_disabled.hbs
card-mod-bootstrap-0.18.0 vendor/bootstrap-colorpicker/docs/includes/examples/10_disabled.hbs
card-mod-bootstrap-0.17.0 vendor/bootstrap-colorpicker/docs/includes/examples/10_disabled.hbs
card-mod-bootstrap-0.16.0 vendor/bootstrap-colorpicker/docs/includes/examples/10_disabled.hbs
card-mod-bootstrap-0.15.6 vendor/bootstrap-colorpicker/docs/includes/examples/10_disabled.hbs
card-mod-bootstrap-0.15.5 vendor/bootstrap-colorpicker/docs/includes/examples/10_disabled.hbs
card-mod-bootstrap-0.15.4 vendor/bootstrap-colorpicker/docs/includes/examples/10_disabled.hbs
card-mod-bootstrap-0.15.3 vendor/bootstrap-colorpicker/docs/includes/examples/10_disabled.hbs
card-mod-bootstrap-0.15.1.2 vendor/bootstrap-colorpicker/docs/includes/examples/10_disabled.hbs
card-mod-bootstrap-0.15.2.pre1 vendor/bootstrap-colorpicker/docs/includes/examples/10_disabled.hbs
card-mod-bootstrap-0.15.1.1 vendor/bootstrap-colorpicker/docs/includes/examples/10_disabled.hbs
card-mod-bootstrap-0.15.1 vendor/bootstrap-colorpicker/docs/includes/examples/10_disabled.hbs
card-mod-bootstrap-0.15.0 vendor/bootstrap-colorpicker/docs/includes/examples/10_disabled.hbs
card-mod-bootstrap-0.14.2 vendor/bootstrap-colorpicker/docs/includes/examples/10_disabled.hbs
card-mod-bootstrap-0.14.1 vendor/bootstrap-colorpicker/docs/includes/examples/10_disabled.hbs
card-mod-bootstrap-0.14.0 vendor/bootstrap-colorpicker/docs/includes/examples/10_disabled.hbs
card-mod-bootstrap-0.13.4 vendor/bootstrap-colorpicker/docs/includes/examples/10_disabled.hbs
card-mod-bootstrap-0.13.3 vendor/bootstrap-colorpicker/docs/includes/examples/10_disabled.hbs
card-mod-bootstrap-0.13.2 vendor/bootstrap-colorpicker/docs/includes/examples/10_disabled.hbs
card-mod-bootstrap-0.13.1 vendor/bootstrap-colorpicker/docs/includes/examples/10_disabled.hbs