From b707a02f4f32641cae3b08164b9c3e75035c74b4 Mon Sep 17 00:00:00 2001 From: Jeremy Cook Date: Sat, 2 Mar 2013 17:14:45 -0700 Subject: [PATCH] Update README.md Documented ko.DirtyFlag's forceDirty method --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 49c1115..d900650 100644 --- a/README.md +++ b/README.md @@ -110,6 +110,11 @@ isDirty = ko.computed(function () { dirtyFlag().reset() +
+// Force into dirty state
+dirtyFlag().forceDirty()
+
+ ## Depends on