Permalink
Commits on May 9, 2014
  1. Bug fix with bug fix :P

    committed May 9, 2014
Commits on Nov 28, 2013
Commits on Nov 7, 2013
Commits on Nov 6, 2013
Commits on Aug 12, 2013
Commits on Jul 19, 2013
Commits on Jul 16, 2013
  1. Update README.md

    Jorgelig committed Jul 16, 2013
  2. Update fakeCheckable with knockout model changes

    Html
     <input type="checkbox" data-bind="checked: isFurnished, prettyCheckable: {color: 'gray', label: '@GetText("Furnished")' }"/>
    
    Custom binding
        ko.bindingHandlers.prettyCheckable = {
            init: function(element, valueAccessor, allBindingsAccessor, viewModel, bindingContext) {
                var val = ko.utils.unwrapObservable(valueAccessor());
                $(element).prettyCheckable({color: val.color, label: val.label});
            },
            update: function(element, valueAccessor, allBindingsAccessor, viewModel, bindingContext) {
                $(element).trigger("change");
            }
        };
    Jorgelig committed Jul 16, 2013
Commits on Jun 24, 2013
  1. Added added knockout support

    Knockout looks for click events.
    
    source: http://stackoverflow.com/a/14164873/845580
    Jorgelig committed Jun 24, 2013
Commits on Jun 21, 2013
  1. Added "label" option

    I use custom bindings of knockout, and i need to configure everything from javascript:
    html
    <input type="checkbox" data-bind="checked: isFurnished, prettyCheckable: {color: 'gray', label: '@GetText("Furnished")' }"/>
    
    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});
            }
        };
    Jorgelig committed Jun 21, 2013
Commits on May 9, 2013
  1. Revert "updated PSD with disabled checkbox and radio"

    This reverts commit bf13d77.
    markushausammann committed May 9, 2013
Commits on Apr 16, 2013
  1. Adding enable/disable methods for the plugin;

    Updating documentation;
    Updating imagery;
    closes #17
    committed Apr 16, 2013
Commits on Apr 9, 2013
  1. Trigger change

    fahrulazmi committed Apr 9, 2013
Commits on Apr 8, 2013
  1. Works with jQuery 1.9.1

    Changed attr with prop to work with jQuery 1.9.x
    fahrulazmi committed Apr 8, 2013
Commits on Nov 26, 2012
  1. Adding landing page link

    committed Nov 26, 2012
  2. Oops, dot missed =P

    tarciozemel committed Nov 26, 2012
Commits on Nov 19, 2012
  1. Fix for listening only to Space Bar to check inputs and have it work …

    …on Firefox & Safari. Closes #5
    committed Nov 19, 2012
Commits on Nov 14, 2012
  1. Adding events listeners for each element matching selectors, instead …

    …of doing a batch binding. This closes #4
    committed Nov 14, 2012
Commits on Nov 5, 2012