Skip to content

A lightweight hashtag history tracker with wildcard capabilities.

Notifications You must be signed in to change notification settings

davidherse/hashcard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

hashcard 0.1.2

A lightweight hashtag history tracker with wildcard capabilities.

Demo

##Usage

hashcard.on('/path/to/foo', function() {
  //..
});

###Wildcards

Parameters

hashcard.on('/path/:foo/:bar', function(foo, bar) {
  //..
});

All

hashcard.on('/path/*', function(param1, param2, ect..) {
  //..
});

Push hash state and trigger event

hashcard.push('/path/foo/bar');

Remove event (Must be declared with a defined function for this to work)

hashcard.on('/path/foo', myFunction);

hashcard.off('/path/foo', myFunction);

Requirements

  • JQuery 1.10.2+

Browser Support

  • Chrome
  • Safari
  • Firefox
  • ie8+

About

A lightweight hashtag history tracker with wildcard capabilities.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published