Skip to content

Example SPA creating tabs that reflect and update location.hash

Notifications You must be signed in to change notification settings

decoursin/hashing-your-tabs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hashing Your Tabs

SPA example creating tabs that reflect and update location.hash.

When a user clicks a tab, the page does not reload and the URL is appended by a hash. The hash is used to save state, so when the user clicks the back or forward button, the active/inactive tabs, menu, and URL are updated to reflect the change.

About

Example SPA creating tabs that reflect and update location.hash

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published