hgh/yii-bootstrap-toggle

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

Installs: 13

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/hgh/yii-bootstrap-toggle

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

This package is auto-updated.

Last update: 2025-10-08 22:57:44 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/