Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 750 Bytes

File metadata and controls

22 lines (18 loc) · 750 Bytes

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.