Closed AdamNiederer closed 6 years ago
Thanks! Could you provide some example usages?
I've added some documentation to the README. My current use case is making all links scroll the browser to the top of the page via the nav handler (this doesn't work on links to the current page on master). I'm assuming this behaviour would be useful with other types of navigation hooks as well, or perhaps for resetting the current page's state via a link.
Thanks for the explanation! I think it is an option worth adding. Lemme test this patch in one of my projects...
Can confirm the patch works and breaks nothing in my project. @venantius I think this would be a good enhancement. Thoughts?
This seems like a reasonable request to me. One clarifying question, just to make sure I'm understanding - clicking the same link won't trigger a full reload, right? It'll just emit an event?
This seems like a reasonable request to me. One clarifying question, just to make sure I'm understanding - clicking the same link won't trigger a full reload, right? It'll just emit an event?
That's correct
Thanks for the feedback - I've addressed each comment in the above commits.
LGTM! Thanks :)
This is enabled by setting
:reload-same-path?
to true in when callingconfigure-navigation!