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() {
    var self = this;
    this.save = function() {
        self.canSave(false);
    };
    this.canSave = ko.observable(true);    
};

ko.applyBindings(new TestViewModel());