jqtags/jq-switch

This package is abandoned and no longer maintained. No replacement package was suggested.

fancy switch/checkbox button

Maintainers

Details

gitlab.com/jqtags/jq-switch

Installs: 116

Dependents: 0

Suggesters: 0

Security: 0

Type:tag

0.0.0 2015-06-08 07:41 UTC

This package is auto-updated.

Last update: 2017-08-12 07:56:26 UTC


README

Sample Code:

	<jq-switch id="switch1" value=true on=Yes off=No label="Auto Search" ></jq-switch>

Using jQuery you can get/set value

$("#switch1").val(true);

var x = $("#switch1").val();

$("#switch1").on("change",function(e){
    console.log("callback : switch has toggled")
})


Install

composer require jqtags/jq-switch

bower install jqtags-jq-switch