TeaSpeak-Client/modules/shared/ipc/ExternalModal.ts

12 lines
281 B
TypeScript
Raw Normal View History

2020-08-23 15:26:27 -04:00
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>;
}