12 lines
281 B
TypeScript
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>;
|
|
} |