diff --git a/README.md b/README.md index 0b0e84b..57fe0e3 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,10 @@ the key to use when storing the value to localHost namePersist: ko.observable(null, {persist: 'namePersist'}), - nameDefaultPersist: ko.observable('James', {persist: 'nameDefaultPersis'}) - + nameDefaultPersist: ko.observable('James', {persist: 'nameDefaultPersis'}), + + // any changes to localStorage will be propagated back to the variable + synclocal : ko.observable('Jamie', {persist: 'nameTestLocal', synclocal : true, pollfreq : 500 }) } ko.applyBindings(viewModel); diff --git a/examples/index.html b/examples/index.html index 686e6fd..b1cf6ad 100644 --- a/examples/index.html +++ b/examples/index.html @@ -26,8 +26,15 @@
+ ++ +
+