Created
October 1, 2014 18:20
-
-
Save ro31337/9e5cdb33343b2d8ab635 to your computer and use it in GitHub Desktop.
Knockout sample
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
<span data-bind="text: Name"></span> | |
var ViewModel = new function() { | |
var self = this; | |
self.Name = ko.observable("Sample User"); | |
} | |
ko.applyBindings(ViewModel); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment