arthurgouveia/prettyCheckable — pull request #36 by Jorgelig (2013-06-21 16:47:25+00:00)
Title: Added "label" option

I use custom bindings of knockout, and i need to configure everything from javascript:
html

javascript
ko.bindingHandlers.prettyCheckable = {
init: function(element, valueAccessor, allBindingsAccessor, viewModel, bindingContext) {
var val = ko.utils.unwrapObservable(valueAccessor());
$(element).prettyCheckable({color: val.color, label: val.label});
}
};