From fed766843ceb8bfa588fc133890885ed54d95c89 Mon Sep 17 00:00:00 2001 From: timwis Date: Wed, 8 Jun 2016 05:59:24 -0400 Subject: [PATCH] add opts.hash to docs --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index f5df7eb..829d455 100644 --- a/README.md +++ b/README.md @@ -653,6 +653,10 @@ following values: - __opts.href:__ default: `true`. Handle all relative `` clicks and update internal `state.location` accordingly. +- __opts.hash:__ default: `false`. Enable a `subscription` to the hash change + event, updating the internal `state.location` state whenever the URL hash + changes (eg `localhost/#posts/123`). Enabling this option automatically + disables `opts.history` and `opts.href`. ## Errors ### Could not find DOM node (#id) to update