Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add option to control how history is updated #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mojavelinux
Copy link
Contributor

  • Use update option to only process inbound request from URL (no updates on navigation)
  • Use history option to control whether history is maintained

@mojavelinux
Copy link
Contributor Author

I've introduced two different controls.

The first, "update", controls whether the URL is updated after the page is loaded. If the value is false, the deck is advanced to the hash indicated by the URL, but does not continue to update on navigation. The default is to update the URL.

The second, "history" controls whether the history is overwritten on each slide change or whether the history is preserved. The default is to preserve the history. A value of false disables this behavior so that the history remains unchanged.

* Use update option to only process inbound request from URL (no updates on navigation)
* Use history option to control whether history is maintained
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant