This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
Navigation Refactor - First Pass #5091
Closed
Description
Goals
Ordered by priority.
Abstract pushstate/hashchange handling
I'd like to unify these two events into one internally ("navigate"). Additionally I was considering providing namespaced events "forward.navigate", and "back.navigate" where appropriate but that will require review since it's tightly coupled to our hashchange handling. Again, these events will initially be internal until we decide that the module is ready for general consumption.
This likely includes the following deliverables:
- "navigate" triggered on window
- HistoryManager
- HistoryEntry
- "back.navigate", "forward.navigate" triggered on window
- Dependency only on jQuery
Container
I'd like to provide a container widget that manages its history and content transitions. The idea is to have this respond to navigation events and possibly delegate to changePage. This is important as we make a run at multiple container documents.
This likely includes the following deliverables:
- ContentContainer
- changePage alterations to account for a container
- Dependency on jQuery and some change content function (eg, changePage )