UNPKG

@electron/remote

Version:

[![Test](https://github.com/electron/remote/actions/workflows/test.yml/badge.svg)](https://github.com/electron/remote/actions/workflows/test.yml) [![npm version](http://img.shields.io/npm/v/@electron/remote.svg)](https://npmjs.org/package/@electron/remote

6 lines (5 loc) 287 B
import { WebContents } from 'electron'; export declare const isRemoteModuleEnabled: (contents: WebContents) => boolean | undefined; export declare function enable(contents: WebContents): void; export declare function isInitialized(): boolean; export declare function initialize(): void;