A cmdrjs component for Knockout.
bower install knockout-cmdrjs
Download files from the releases page.
<script src="knockout.js"></script>
<script src="cmdr.js"></script>
<script src="knockout.cmdr.js"></script>
<cmdr params="{ shell: shell, options: options"></cmdr>
<script>
var vm = {
shell: ko.observable() //will be set to instance of the Shell class created by component.
options: {} //set Shell class options here.
};
ko.applyBindings(vm);
</script>
This component creates a new cmdrjs Shell object and injects it into the template.