UNPKG

electron-event-flux

Version:

Redux store which synchronizes between instances in multiple process

34 lines 1.2 kB
import StoreBase from "./StoreBase"; export interface IWinParams { x?: number; y?: number; width?: number; height?: number; minWidth?: number; minHeight?: number; maxWidth?: number; maxHeight?: number; title?: string; useContentSize?: boolean; } export interface IWinProps { path?: string; name?: string; groups?: string[]; } export default interface IMultiWinStore { createWin(url: IWinProps | string, parentId: string, params: IWinParams): string | null; createOrOpenWin(winName: string, url: string | IWinProps, parentClientId: string, params: IWinParams): string | null; closeWin(clientId: string): void; closeWinByName(name: string): void; closeWinByGroup(group: string): void; activeWin(clientId: string): void; activeWinByName(name: string): void; activeWinByGroup(group: string): void; sendWinMsg(clientId: string, message: any): void; sendWinMsgByName(name: string, message: any): void; sendWinMsgByGroup(group: string, message: any): void; onChangeAction(clientId: string, action: string): void; getWinRootStore(clientId: string): StoreBase; } //# sourceMappingURL=IMultiWinStore.d.ts.map