UNPKG

@logux/client

Version:

Logux base components to build web client

25 lines (22 loc) 454 B
import { LogStore } from '@logux/core' /** * `IndexedDB` store for Logux log. * * ```js * import { IndexedStore } from '@logux/client' * const client = new CrossTabClient({ * …, * store: new IndexedStore() * }) * ``` */ export class IndexedStore extends LogStore { /** * Database name. */ name: string /** * @param name Database name to run multiple Logux instances on same web page. */ constructor(name?: string) }