Skip to content

blasten/hash.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Hash.js

Handles URI changes dynamically.

Features

  • Uses pushState
  • Uses the classic URI hash

Example

Hash.pushState(true);

Hash.on('/page/([0-9]+)$', function(path, parts) {
	alert('You are on page '+ parts[1]);
});

Hash.go('/page/1');

About

Handles URI changes dynamically

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published