Created
December 19, 2014 02:29
-
-
Save devdays/a9eb00255e610a31bc1d to your computer and use it in GitHub Desktop.
Single Page App - How to extend Knockout to automatically store values
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
var viewModel = { | |
stringValue: ko.observable("Hello") | |
.extend({ localStore: "myString" }) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment