Skip to main content

Type Alias: SetupExternalLinkHandlersOptions

type SetupExternalLinkHandlersOptions = {
cleanupExternalLinkHandlers: CleanupFunction | null;
electronApiScope?: RendererElectronApiScope;
root: EventTarget | null | undefined;
setCleanup: (cleanup: CleanupFunction | null) => void;
};

Defined in: utils/ui/setupExternalLinkHandlers.ts:7

Properties​

cleanupExternalLinkHandlers​

readonly cleanupExternalLinkHandlers: CleanupFunction | null;

Defined in: utils/ui/setupExternalLinkHandlers.ts:8


electronApiScope?​

readonly optional electronApiScope?: RendererElectronApiScope;

Defined in: utils/ui/setupExternalLinkHandlers.ts:9


root​

readonly root:
| EventTarget
| null
| undefined;

Defined in: utils/ui/setupExternalLinkHandlers.ts:10


setCleanup​

readonly setCleanup: (cleanup: CleanupFunction | null) => void;

Defined in: utils/ui/setupExternalLinkHandlers.ts:11

Parameters​

cleanup​

CleanupFunction | null

Returns​

void