JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://andersmalmgren.github.io/Knockout.BindingConventions/src/Knockout.BindingConventions.js"></script>
<button data-name="save">Save</button>

JavaScript

TestViewModel = function() {    
    this.canSave = ko.observable(true);    
};

TestViewModel.prototype = {
    save: function() {
        this.canSave(false);
    }
}

ko.applyBindings(new TestViewModel());