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

8 lines
217 B
JavaScript

const electron = require('electron');
const { View } = electron;
const { ImageView } = process.electronBinding('image_view');
Object.setPrototypeOf(ImageView.prototype, View.prototype);
module.exports = ImageView;