-
Notifications
You must be signed in to change notification settings - Fork 470
Open
Description
Switchery.prototype.check = function () {
this.setStatus(true);
};
Switchery.prototype.uncheck = function () {
this.setStatus(false);
};
Switchery.prototype.toggleStatus = function () {
this.setStatus(this.isChecked());
};
Switchery.prototype.setStatus = function (status) {
this.element.checked = !!status;
this.setPosition(true);
};
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels