$(element).on('ifChecked', function () {
//try to change the observable value
var observable = valueAccessor();
observable.checked = true;
});
},
update: function (element, valueAccessor) {
var observable = valueAccessor();
debugger;
//initially fired but on change of value it does not fired
}
binding
ko.bindingHandlers.RadioButton = { init: function (element, valueAccessor) { //initialize plugin $(element).iCheck({ radioClass: 'iradio_square-blue' });
};