8 lines
217 B
JavaScript
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;
|