Created
February 19, 2015 17:53
-
-
Save idmontie/5cca3e8476c0ea8bb2d4 to your computer and use it in GitHub Desktop.
KnockoutJS Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p data-bind="text: name"></p> | |
<script> | |
var viewModel = function () { | |
this.name = 'Ivan'; | |
}; | |
ko.applyBindings( viewModel ); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment