hgh/yii-bootstrap-toggle

Using this library you can add on/off switch button which follows bootstrap style.

dev-master 2019-07-08 09:11 UTC

This package is auto-updated.

Last update: 2022-06-08 16:03:54 UTC


README

Using this library you can add on/off switch button which follows bootstrap style.

Usage

PHP

YiiBootstrapToggle::register($this);

HTML

<input type="checkbox" name="anything" class="testClassName" />

jQuery

$(document).ready(function() {
    $(".testClassName").bootstrapToggle();
});

More information: http://www.bootstraptoggle.com/