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

16 lines
350 B
JavaScript
Raw Normal View History

2020-03-20 20:28:31 +00:00
'use strict';
2018-11-21 13:39:59 +00:00
2020-03-20 20:28:31 +00:00
const electron = require('electron');
2018-11-21 13:39:59 +00:00
2020-03-20 20:28:31 +00:00
const { View } = electron;
const { ResizeArea } = process.electronBinding('resize_area');
2018-11-21 13:39:59 +00:00
2020-03-20 20:28:31 +00:00
Object.setPrototypeOf(ResizeArea.prototype, View.prototype);
2018-11-21 13:39:59 +00:00
ResizeArea.prototype._init = function () {
// Call parent class's _init.
2020-03-20 20:28:31 +00:00
View.prototype._init.call(this);
};
2018-11-21 13:39:59 +00:00
2020-03-20 20:28:31 +00:00
module.exports = ResizeArea;