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

9 lines
217 B
JavaScript
Raw Normal View History

2020-03-22 10:11:43 +00:00
const electron = require('electron');
const { View } = electron;
const { ImageView } = process.electronBinding('image_view');
Object.setPrototypeOf(ImageView.prototype, View.prototype);
module.exports = ImageView;