TeaSpeak-Client/modules/shared/ipc/ExternalModal.ts
2020-08-23 21:26:27 +02:00

12 lines
281 B
TypeScript

export const kIPCChannelExternalModal = "external-modal";
export interface ExternalModal {
readonly events: {
onClose: () => void
}
spawnWindow(modalTarget: string, url: string) : Promise<boolean>;
minimize() : Promise<any>;
focus() : Promise<any>;
}