UNPKG

vuex-multi-tab-state

Version:

Share and synchronize status between multiple tabs with this plugin for Vuex.

10 lines (9 loc) 296 B
export default class Tab { private tabId; private window; constructor(window: Window); storageAvailable(): Boolean; saveState(key: string, state: object): void; fetchState(key: string, cb: Function): void; addEventListener(key: string, cb: Function): void; }