Skip to content

marcioj/spine-indexeddb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

spine-indexed-db

Spine indexeddb is a simple api to provide persistence using the indexeddb. For usage just make any model extend the Spine.Model.IndexedDb module. As followed:

User = Spine.Model.sub();
User.configure('User','name','age','email');
User.extend(Spine.Model.IndexedDb);

By default, it will create a connection called default and an objectStore with the same name like the model name, in the previous example will be called User. To change the default just configure the User.dbMetadata object.

About

Just a snippet of an indexed db plugin for Spine javascript framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published