Hash demo using Tabs
As you click the tabs, see url's hash is changing accordingly.
This is reactive: if you change the url manually to a valid tab number, it will change the tab as well.
If you change to another tab and reload (F5) the page, the selected tab/hash will be kept.
$hash() testing
Current $hash: #
set $hash:- Tab 1
- Tab 2
- Tab 3
Tab1
Tab 1 contents