Skip to content

andrewfry/HasherJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HasherJs

Summary

A lightweight js control that allows you to store information in the browser's window hash. The control stores a key value pair of information in the browser URL, allowing the developer to perserve the history of ajax calls or locations of DOM items.

Features

  • Upsert - Add or update items
  • Add - Add key-value pair to the hash
  • Remove - Remove a key-value pair from the hash
  • RemoveAll - Clear the hash
  • Exist - determine if a key exists in the hash
  • GetValue - retreive the value of a key
  • SetValue - set the value for an existing key
  • Stringify - return the hash as a string

Examples

Examples of all of the functions are provided in the examples.html file.

About

JS app to control to store data in the location hash.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors