electron/lib/browser/api/button.js

16 lines
317 B
JavaScript
Raw Normal View History

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