electron/lib/browser/api/button.js

16 lines
313 B
JavaScript
Raw Normal View History

2018-05-24 07:56:02 +00:00
'use strict'
const electron = require('electron')
const {View} = electron
const {Button} = process.atomBinding('button')
Object.setPrototypeOf(Button.prototype, View.prototype)
Button.prototype._init = function () {
// Call parent class's _init.
View.prototype._init.call(this)
}
module.exports = Button