electron/lib/browser/api/web-contents-view.ts

8 lines
229 B
TypeScript

import { View } from 'electron/main';
const { WebContentsView } = process._linkedBinding('electron_browser_web_contents_view');
Object.setPrototypeOf(WebContentsView.prototype, View.prototype);
export default WebContentsView;