Store and sync data between tabs via IndexedDB or LocalStorage.
- Store and restore data using IndexedDB or LocalStorage.
- Cross data binding between tabs.
- Individual expiration per data.
Store and sync text and canvas.
A schema is defined by properties of objects made by the registered factory function.
Property names having underscore(
_) prefix or postfix will be excluded from schema.
Property values of linked objects will be stored by update.
Linked objects will be updated automatically when a linked object is updated on another thread(tab).
;;// Load data from IndexedDB with little delay.;// Save data to IndexedDB, and sync data between all tabs.link.firstName = 'john';link.lastName = 'smith';
Communication and Synchronization
Linked objects provede send/recv events.
send event will be emitted when a linked object was updated by own thread(tab).
recv event will be emitted when a linked object was updated by another thread(tab).
;;;;link.event.on,;link.version = VERSION;
Requires es6 and modern DOM API support.
- Edge (Chromium edition only)