Doist/ElementStore
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
ElementStore is a stand alone implementation of jQuery.data(). jQuery.data() allows you to attach data of any type to DOM elements in a way that is safe from circular references and therefore from memory leaks. Usage: ElementStore.set(elm, "meaning of life", {42: 42}) ElementStore.get(elm, "meaning of life") ElementStore.remove(elm, "meaning of life") //delete just one key ElementStore.remove(elm) //delete all element keys More info: http://api.jquery.com/jQuery.data http://amix.dk/blog/post/19504#ElementStore-Standalone-jQuery-data
About
Standalone implementation of jQuery.data
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published