electron/lib/browser/api/views/resize-area.js

15 lines
342 B
JavaScript

'use strict'
const electron = require('electron')
const { View } = electron
const { ResizeArea } = process.electronBinding('resize_area')
Object.setPrototypeOf(ResizeArea.prototype, View.prototype)
ResizeArea.prototype._init = function () {
// Call parent class's _init.
View.prototype._init.call(this)
}
module.exports = ResizeArea