electron/lib/browser/api/views/image-view.ts

8 lines
204 B
TypeScript

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